[OT] Re: mod_perl, pipes, and "No child processes"

2001-11-06 Thread Jie Gao
On Tue, 6 Nov 2001, Tom Servo wrote: > On Tue, 6 Nov 2001, Luciano Miguel Ferreira Rocha wrote: > > > > > > > I was under the assumption that doing something similar to: > > > > > > my $returnval = $msg->send(); > > > > > > Would give a similar answer. > > > > > > I'll give the $? a shot though.

Re: mod_perl, pipes, and "No child processes"

2001-11-06 Thread Tom Servo
On Tue, 6 Nov 2001, Luciano Miguel Ferreira Rocha wrote: > > > > I was under the assumption that doing something similar to: > > > > my $returnval = $msg->send(); > > > > Would give a similar answer. > > > > I'll give the $? a shot though. I've noticed that from the shell, it > > always has

Re: mod_perl, pipes, and "No child processes"

2001-11-06 Thread Luciano Miguel Ferreira Rocha
> > I was under the assumption that doing something similar to: > > my $returnval = $msg->send(); > > Would give a similar answer. > > I'll give the $? a shot though. I've noticed that from the shell, it > always has a 0, and that would show up as false under perl... Well, on the shell and

Re: mod_perl, pipes, and "No child processes"

2001-11-06 Thread Tom Servo
> > > Any ideas what is causing this? Like I said, the mail goes out > fine, but > it makes it pretty difficult to check the return code since > it's always > coming back false. > > Shouldn't you check $? instead? > I was under the assumption that doing something similar to: my $returnval =

Re: mod_perl, pipes, and "No child processes"

2001-11-06 Thread Jie Gao
On Tue, 6 Nov 2001, Tom Servo wrote: > Hello all. I'm writing an app that opens a pipe to sendmail, which if > memory serves, forks off a child process of apache to do the pipe, then > exits as soon as it's finished. > > I was doing this with MIME::Lite, and it's been working absolutely > splen