Skip to content

Instantly share code, notes, and snippets.

@statonjr
Created December 9, 2010 04:56
Show Gist options
  • Save statonjr/734356 to your computer and use it in GitHub Desktop.
Save statonjr/734356 to your computer and use it in GitHub Desktop.
Simple command line program to launch Xcode
#!/usr/local/bin/nush
(system ("open -b com.apple.Xcode \"" stringByAppendingString: ((((NSProcessInfo processInfo) arguments) objectAtIndex:2) stringByAppendingString:"\"")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment