Re: Shell script
Re: Shell script
- Subject: Re: Shell script
- From: Martin Orpen <email@hidden>
- Date: Wed, 20 Apr 2005 00:22:18 +0100
on 19/4/05 23:59, Christopher Nebel at email@hidden wrote:
> Multiple slashes are not relevant in POSIX paths -- you can think of
> the path separator as "one or more slashes". This is in contrast to
> HFS paths, where multiple colons are highly relevant.
They should be irrelevant, but they aren't - as was recently discussed on
MACSCRPT where multiple slashes will inadvertently launch apps which aren't
seen by the Finder and need sudo kill to get rid of:
>>> sudo -b "/Applications/TextEdit.app/Contents/MacOS/TextEdit"
>>>
>>> sudo -b "/Applications/TextEdit.app//Contents/MacOS/TextEdit"
>>
>> They look the same to me.
>
> I get a difference on my powerbook.
>
> The first line opens TextEdit as root but it can be quit conventionally in
> the Finder.
>
> The second line opens also opens TextEdit as root but, although you can see
> the editing window, the application process is hidden and can't be quit from
> the Finder - you have to use sudo kill.
--
Martin Orpen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden