Last active
December 19, 2015 16:48
-
-
Save tsykoduk/5986191 to your computer and use it in GitHub Desktop.
This script will fix the "There is another version of Skype running" error with out forcing a reboot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Tested on a mac with bash shell. | |
# This script will fix the dreaded "Another copy of Skype is running" | |
#First let's try and determine what PID Skype thinks is running and kill it, just in case | |
SKYPE_PID=`cat ~/Library/Application\ Support/Skype/Skype.pid` | |
kill -9 $SKYPE_PID | |
#Now, let's go ahead and kill the two files that Skype cannot clean up: | |
rm ~/Library/Application\ Support/Skype/Skype.pid | |
rm ~/Library/Application\ Support/Skype/shared.lck | |
#You should be able to restart Skype now! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment