logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Wheel::Run and Proc::Daemon troubles: msg#00035

Subject: Re: Wheel::Run and Proc::Daemon troubles
On Sep 7, 2005, at 16:58, Hicks, Matthew wrote:
Rob Bloodgood wrote:
Why or how is this breaking for you?

The behavior I see (in my Solaris 8 & 9 environment) is that if STDIN
reopened from /dev/null (which the daemonizing modules do) then a
POE::Wheel::Run spawning a tail command returns error 0 immediately. If
STDIN is left alone during daemonization, POE::Wheel::Run spawning a
tail command works just fine.

I could not reproduce the problem you're seeing on Mac OS X or FreeBSD.

I've attached my test case, which is based on your description of the problem. If you have the time, please send back a version that fails on your system. I can use it to hunt down the problem, assuming I can find a system where it fails for me.

Thank you.

--
Rocco Caputo - http://poe.perl.org/

Attachment: hicks-wheel-run-no-stdin.perl
Description: Binary data



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>