in reply to Re: Stumped on IPC...
in thread Stumped on IPC...

That was it... thanks. Magic code is as follows:
... fork && exit; close STDOUT; system ("./someprog.cgi") || warn "funniness $!"; ...
thanks s.a.
f.

Replies are listed 'Best First'.
Re: Re: Re: Stumped on IPC...
by buckaduck (Chaplain) on Sep 26, 2001 at 00:03 UTC
    Watch out for how you check the return from system. It returns 0 on success, not failure, in a typical environment.
    my $result = system("./someprog.cgi"); warn "funniness: error code $?" if $result;

    buckaduck