Re: ActivePerl Digest, Vol 17, Issue 25

2005-06-22 Thread Mathieu Longtin
I think the "Killed" comes from your shell, not from your perl process. The shell figures out from the exit code that your process was killed, rather than exiting normally, and tells you so. I don't why you call kill on your process group, but in order to daemonize a process, you should just exit(

Re: A question for UNIX/PERL Gods...

2005-06-22 Thread $Bill Luebkert
Arijit Das wrote: > Hi Larry, > > Didn't get a positive response anywhere? In case you > have a minute, pls let me know if the following is > possible? > > Here is how my code looks like... > > eurika120:arijit>cat test1.pl > #!/depot/qsc/VG1.0/bin/perl > setpgrp(0,0); > $| =1; > $grp = getpgr

A question for UNIX/PERL Gods...

2005-06-22 Thread Arijit Das
Hi Larry, Didn't get a positive response anywhere? In case you have a minute, pls let me know if the following is possible? Here is how my code looks like... eurika120:arijit>cat test1.pl #!/depot/qsc/VG1.0/bin/perl setpgrp(0,0); $| =1; $grp = getpgrp(); print "Our Grp = $grp\n"; $pid = fork; i