to NSTask or not to NSTask
to NSTask or not to NSTask
- Subject: to NSTask or not to NSTask
- From: Jérôme Laurens <email@hidden>
- Date: Mon, 2 May 2005 08:09:51 +0200
Hi,
I have to launch a command line tool from a cocoa objective C
application.
But it takes too long to execute as compared to using directly the
terminal.
Moreover, I have to launch the same tool (with the same arguments) many
times.
As I do not really care about standard input, output or errors, I was
wondering if there weren't
another method to launch a command line tool.
For example, is it relevant to launch a /bin/sh through the NSTask and
feed it with the command?
TIA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden