in reply to Re: Background Process
in thread Background Process

You need to have the kid close STDOUT as well. I say this many times in my Web Techniques columns.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: RE: Re: Background Process
by ncw (Friar) on Jun 27, 2000 at 00:19 UTC
    Or if you are feeling lazy you can do all the above forking, closing, reopening etc with :-
    use Proc::Daemon; #... Proc::Daemon::Init();
      Could you provide a sample script? Thanks, David