Re: NSTask not working for shell scripts?
Re: NSTask not working for shell scripts?
- Subject: Re: NSTask not working for shell scripts?
- From: Chris Ridd <email@hidden>
- Date: Tue, 03 Dec 2002 16:31:17 +0000
On 3/12/02 3:27 pm, Yann Bizeul <email@hidden> wrote:
>
Mmm...
>
>
In fact I never ran shell scripts directly. I always uses /bin/sh as
>
the launchPathArguments, with first arg : "-c" and the full command
>
after this.
That's a good idea anyway, just in case the permissions on /usr/bin/getRoute
get changed accidentally to prevent it being executed.
Of course /usr/bin is *not* a good place to put your own scripts. Somewhere
like /usr/local/<product>/bin is probably a better choice - the MySQL
packages from Marc Liyanage are rooted at /usr/local/mysql, the Virex
command-line tools are rooted at /usr/local/vscanx, so there's some
precedence for you to follow :-)
Cheers,
Chris
_______________________________________________
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.