NSTask vs. popen vs. System
NSTask vs. popen vs. System
- Subject: NSTask vs. popen vs. System
- From: John Timmer <email@hidden>
- Date: Tue, 03 Dec 2002 12:26:57 -0500
Just a quick clarification question while NSTasks are on people's minds:
Having looked through a bunch of examples and potential uses, I'd made the
judgment that one should:
Use System if you don't care what happens with the process you're launching.
Use popen if you just want to grab the output of the process, and don't care
if you do things asynchronously.
Use NSTask if you need to run things interactively and asynchronously.
Is this fairly accurate, or have I missed something?
Cheers,
Jay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.