in reply to Re^2: How do you launch a background process and get pid?
in thread How do you launch a background process and get pid?

open(STDOUT, "/dev/null"); # suppressing output open(STDERR, "/dev/null"); # suppressing output

Yes, this suppresses output, but accidentally. You open STDOUT and STDERR for input. That may confuse your child process. What you really want is the three-argument form of open, used for output:

open STDOUT,'>','/dev/null'; open STDERR,'>','/dev/null';

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)