Re: forking a perl process from modperl to execute a network program

2000-06-20 Thread Barrie Slaymaker
Gac Corp wrote: > but udp socket dies. Does it open the socket ok? How long until it dies? Is it forking again in the C program (perhaps to daemonize)? If you want to instrument your code to see when the filehandle goes away, here's some sample Perl code I use for debugging IPC::Run that you

forking a perl process from modperl to execute a network program

2000-06-19 Thread Gac Corp
Hi Folks: I have perl program that runs under modperl in a website, that needs to fork another perl program that executes a network program. The problem is that the tcp socket c program runs fine when executed from a modperl fork, but udp socket dies. This udp program runs fine when run from the