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(
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
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