Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
run a shell command with C code in OS X
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="SM Ryan, post: 2989882"] # hi, # I'm a first year student at UNSW Sydney, i was wondering if somebody # could tell me how to run a terminal command from within OS X. A easy # to understand example of why i would want this is: If your system supports the system() function, just call int rc = system("shell command in some string expression"); It will run the command with a shell (or as if with a shell), but the implementation is system specific. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
run a shell command with C code in OS X
Top