Skip to content

Instantly share code, notes, and snippets.

@samdmarshall
Created October 11, 2012 15:09
Show Gist options
  • Select an option

  • Save samdmarshall/3873080 to your computer and use it in GitHub Desktop.

Select an option

Save samdmarshall/3873080 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main () {
system("kill -9 `ps -x | grep Xcode | grep \".app/Contents/MacOS/Xcode\" | awk '{print $1}'`");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment