Re: waitpid() and exitcode >> 8 ?

2005-11-07 Thread Elie De Brauwer
John W. Krahn wrote: Elie De Brauwer wrote: Hello list, Hello, I recently encountered a small oddity. Suppose I have a process A: #!/usr/bin/perl use strict; print "Hello \n"; sleep 1; print "Goodbye\n"; exit 9; Simply shows some out and gives a certain exit code. A second process, s

Re: waitpid() and exitcode >> 8 ?

2005-11-07 Thread Shawn Corey
Elie De Brauwer wrote: Hello list, I recently encountered a small oddity. Suppose I have a process A: #!/usr/bin/perl use strict; print "Hello \n"; sleep 1; print "Goodbye\n"; exit 9; Simply shows some out and gives a certain exit code. A second process, simply calls fork, execs the child

Re: waitpid() and exitcode >> 8 ?

2005-11-07 Thread John W. Krahn
Elie De Brauwer wrote: > Hello list, Hello, > I recently encountered a small oddity. Suppose I have a process A: > > #!/usr/bin/perl > > use strict; > > print "Hello \n"; > sleep 1; > print "Goodbye\n"; > exit 9; > > Simply shows some out and gives a certain exit code. A second process, > si

Re: waitpid

2003-01-15 Thread Mark Goland
IL PROTECTED]> To: "Mark Goland" <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 4:37 PM Subject: Re: waitpid > Hello, > > 1. Use : > $ENV{DESTDIR} = "/mnt"; > That will set the environment variable that is passed to any > subshells (such as syst

Re: waitpid

2003-01-15 Thread Mark Goland
is I am not sure about. will look into that. Thanx, Mark - Original Message - From: <[EMAIL PROTECTED]> To: "Mark Goland" <[EMAIL PROTECTED]>; "perl" <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 2:04 PM Subject: RE: waitpid > > --

RE: waitpid

2003-01-15 Thread wiggins
On Wed, 15 Jan 2003 12:55:39 -0500, Mark Goland <[EMAIL PROTECTED]> wrote: > Hello Perl lovers, > > I am developing a script which runs in TCSH 6.x shell. I have two questions > Remember your script runs in Perl not in the shell, you run the pe

Re: waitpid

2003-01-15 Thread Mark Goland
before the cab is extracted. Mark - Original Message - From: "Beau E. Cox" <[EMAIL PROTECTED]> To: "Mark Goland" <[EMAIL PROTECTED]>; "perl" <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 1:34 PM Subject: RE: waitpid > Hi - > > &

RE: waitpid

2003-01-15 Thread Beau E. Cox
Hi - > -Original Message- > From: Mark Goland [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 15, 2003 7:56 AM > To: perl > Subject: waitpid > > > Hello Perl lovers, > > I am developing a script which runs in TCSH 6.x shell. I have > two questions > > 1. I need to be able to s