RE: [Perl-unix-users] Spawning a process

2001-12-17 Thread Steve Aaron
Title: RE: [Perl-unix-users] Spawning a process Okay,     if you don't want to wait on the child processes, what you need is to make each child a daemon process. Have a look at the POSIX module and in particular the setsid function, this will detach you child process from its paren

RE: [Perl-unix-users] Spawning a process

2001-12-17 Thread Elston, Jeremy
Greetings... Reference the camel book for information on how to prevent zombies. I run a dozen applications throughout the day that fork hundreds of times on Solaris 2.6 and 2.8. Only zombies I have ever had is when I killed processes manually. Fixed my programs and resolved that problem thro

RE: [Perl-unix-users] Spawning a process

2001-12-17 Thread Costa, Michael J.
Title: RE: [Perl-unix-users] Spawning a process I thought about that. Are you not however taking a chance if the parent does not wait for the child process to complete? I believe the term is zombies?   In my case, I want the parent to run to completion and terminate without worrying about

RE: [Perl-unix-users] Spawning a process

2001-12-17 Thread Steve Aaron
Title: RE: [Perl-unix-users] Spawning a process Try,    If I have understood correctly, I think you want "fork", see perlfunc for documentation. That will fork off a child process while allowing the parent to carry on processing. Steve Aaron -Original Message- From: Cost

Re: [Perl-unix-users] Spawning a process

2001-12-17 Thread Grant Hopwood
-start- > "Costa, Michael J." <[EMAIL PROTECTED]> >at12/17/2001 09:45 AM >Good Morning All: >I am using perl on a Sun Solaris server to do data transfer with outside >companies. With one of the companies I exchange data with, the files must be >sent in a particular order. What I want to d

[Perl-unix-users] Spawning a process

2001-12-17 Thread Costa, Michael J.
Good Morning All: I am using perl on a Sun Solaris server to do data transfer with outside companies. With one of the companies I exchange data with, the files must be sent in a particular order. What I want to do is when the last file in the chain is received on my server it will kick-off automa