Re: Integrating Unix scripting in Cocoa app
Re: Integrating Unix scripting in Cocoa app
- Subject: Re: Integrating Unix scripting in Cocoa app
- From: Alastair Houghton <email@hidden>
- Date: Tue, 7 Aug 2007 13:35:22 +0100
On 7 Aug 2007, at 13:02, Sherm Pendley wrote:
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.
Yes, you're quite right. I'm not sure why I said shell there.
Kind regards,
Alastair.
--
http://alastairs-place.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