CAiRO <[EMAIL PROTECTED]> wrote:

>> Well, obviously it works here on all my machines. What browser are you
>> using ?
>
> /usr/bin/sensible-browser starts Konqueror over here. Which one are you
> using? Is /usr/bin/sensible-browser a perl script over there? I don't
> understand how it could possibly ever work over there.

I'm using mozilla, and yes, sensible-browser is a perl script.


>> I totally fail to see why it would work this way and not otherwise.
>
> I don't understand why you fail to see it. 

Because there's no reason why the perl script should fail to be
executed by execvp(). Your explanation is bogus, the problem lies
somewhere else.

> What of my explanation do you not understand? 
>
> I could only repeat what I've said before. The execvp function seems to
> expect a binary and not a perl script. A shell is needed to parse the
> first line from /usr/bin/sensible-browser and start a perl interpreter.

What you do not understand or know is that the kernel itself is
responsible for parsing the shebang line at the start of the
script. Not the shell. Go grab some Unix programming book.

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to