develooper Front page | perl.perl5.porters | Postings from September 2003

Re: [perl #23779] $? and negative exit codes

Thread Previous | Thread Next
From:
Tels
Date:
September 16, 2003 13:50
Subject:
Re: [perl #23779] $? and negative exit codes
Message ID:
200309162251.02418@bloodgate.com
-----BEGIN PGP SIGNED MESSAGE-----

Moin,

On Tuesday 16 September 2003 22:36, Dave Mitchell wrote:
> On Tue, Sep 16, 2003 at 06:46:27PM +0200, Tels wrote:
> >       pid_t wait(int *status);
 > But the documentation doesn't tell you that this "-1" state is possible.
> > Hence my bugreport. :)
>
> But as a quoted in my prvious email, direct from bleed's pod/perlfunc.pod:
>
>   Return value of -1
>   indicates a failure to start the program (inspect $! for the reason).

Damn. Even after knowing it was there I overlooked it. I need more 
sle^H^H^Hcoffee. 

> Admittedly it could do with being repeated at that second point.
> I'll followup with a micropatch.

Dave, Thanx for all the long explanations and the patience with me :)

A doc patch would be fine and resolve this issue for me.

Best wishes,

Tels

- -- 
 Signed on Tue Sep 16 22:46:47 2003 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Remember: If the game let's you do it, it's not cheating." -- Xarax

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBP2d3tXcLPEOTuEwVAQHqFQf6A6n4CJpl2YRYGE3jUd2+FFSToh/IwK5U
dnGgbgJnag2GvXuLWsxl9lubRR2xVF23ZNH8qLVaYqHgJN+Ji1kRcmMluBI+160q
ae5aHWsJZFekJ6eCDDqWfqbqHsKP3NfDQYLThJM4xD/T0OJteMmR69XTRhM/E4s1
fQ59vlgMl5x+2vgXTZYy292HRybOFbnV5TnTvi6pc/ycfc7pRqNzBbnkQOV7RpJL
0GAJoowYNak8qRlIkcEs9kAZPOMT053ZtEZrorUXKSk/QnjgnoQmHwwPoWw7nCJB
vswbiG0c+xV7EdkdHRBAC9VDdlZT694ytOf3tIl4GNrTewx7W8JiPw==
=HQ69
-----END PGP SIGNATURE-----


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About