Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 15, 2007, 11:20 PM   #1
Virtualball
macrumors 6502
 
Join Date: Jun 2006
Simple Way to Do Unix/Terminal Commands in Cocoa?

Is there one? Please help me again
Virtualball is offline   0 Reply With Quote
Old Feb 16, 2007, 12:10 AM   #2
HiRez
macrumors 601
 
HiRez's Avatar
 
Join Date: Jan 2004
Location: Western US
You probably want to use NSTasks, with NSPipes and NSFileWrappers to do bi-directional communication, if required. Have a look at the docs for those and I think there's some example code.
__________________
Go outside, the graphics are amazing!
HiRez is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
General: FIX "Error opening terminal: xterm-256color" for Terminal Commands (e.g., "top") iOS7 thelatinist Jailbreaks and iOS Hacks 9 Jan 10, 2014 07:46 PM
Terminal commands dhokes OS X 6 Oct 21, 2013 10:24 AM
UNIX commands to check if there was any kind of spyware installed, can you help? throwing OS X 10.8 Mountain Lion 5 Jun 3, 2013 12:16 PM
Terminal Commands: Networking related commands? MacNoobGuy OS X 3 Oct 27, 2012 09:10 AM
Almost no commands are working in terminal signor.dictator Mac Programming 4 Jun 14, 2012 03:14 PM

Forum Jump

All times are GMT -5. The time now is 03:59 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps