Re: Integrating Unix scripting in Cocoa app
Re: Integrating Unix scripting in Cocoa app
- Subject: Re: Integrating Unix scripting in Cocoa app
- From: Sherm Pendley <email@hidden>
- Date: Tue, 7 Aug 2007 08:02:54 -0400
On Aug 7, 2007, at 6:58 AM, Alastair Houghton wrote:
The shell bang has to be on the first line of the script in order
for the shell to spot it, so looking there is just fine.
It's not the shell that uses the #! line, it's the kernel. Parent
processes - be they interactive command shells, window managers, or
anything else - don't need to know or care what interpreter the
kernel will choose when a child process is launched, or even whether
a separate interpreter is needed at all.
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden