Results 1 to 2 of 2
  1. #1
    shell command in cocoa

    Member Since
    Apr 09, 2014
    Posts
    15
    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

  2. #2
    shell command in cocoa
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Learning the Command Line - Shell Scripts
    By vansmith in forum News and Community Announcements
    Replies: 9
    Last Post: 04-14-2014, 04:27 AM
  2. New Blog: Learning the Command Line ? Shell Scripts
    By MF Blog Bot in forum Apple Rumors and Reports
    Replies: 0
    Last Post: 01-27-2014, 09:30 AM
  3. Help making shell script for basic command
    By ericconn in forum OS X - Operating System
    Replies: 3
    Last Post: 09-26-2012, 04:08 PM
  4. unix shell command,does ibook have that?
    By mac* in forum Apple Notebooks
    Replies: 2
    Last Post: 08-14-2004, 07:36 AM
  5. looking for a terminal emulator and command shell in Mac OSX
    By CandiMarie in forum OS X - Operating System
    Replies: 9
    Last Post: 03-05-2004, 03:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •