Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   shell command in cocoa (http://www.mac-forums.com/forums/os-x-development-darwin/311168-shell-command-cocoa.html)

faisaliqbal 05-06-2014 12:58 AM

shell command in cocoa
 
i have a shell command like this:
/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend
how to Execute this terminal command from a Cocoa Desktop app using objective-c

vansmith 05-06-2014 09:09 AM

This might help.


All times are GMT -4. The time now is 08:41 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.