I want the parent process to end. I am just trying to decide if I can start a second script without having to tie them together in a batch file.
> -----Original Message----- > From: Kipp, James [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 9:15 AM > To: 'Paul Kraus'; 'Perl' > Subject: RE: Calling another perl script > > > I rarely use 'exec' but i believe the parent script just > exits . here is some more from the docs: > > Since it's a common mistake to use "exec" instead of > "system", Perl warns you if there is a following statement > which isn't "die", "warn", or "exit" (if "-w" is set - but > you always do that). If you *really* want to follow an "exec" > with some other statement, you can use one of these styles to > avoid the warning: > > exec ('foo') or print STDERR "couldn't exec foo: $!"; > { exec ('foo') }; print STDERR "couldn't exec foo: $!"; > > ---- > or maybe i am not understaning you correctly. could you be > talking about fork -> exec? > > HTH > Jim > > > > > -----Original Message----- > > From: Paul Kraus [mailto:[EMAIL PROTECTED]] > > Sent: Friday, December 13, 2002 9:08 AM > > To: 'Kipp, James'; 'Perl' > > Subject: RE: Calling another perl script > > > > > > I understand this. However may concern is what is the > parent app doing > > while the exec program runs. I know it returns nothing and dumps to > > shell when its finished but when is the first program > released? Maybe > > I am not understanding you it is rather early :-) > > > > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]