http://www.perlmonks.org?node_id=1158656


in reply to qx not always capturing stdout

With no full program to examine, it's hard to say what's going on. Would it be possible to create a small sample program that shows the same issue and post that here? Is there any pattern to when it does and doesn't capture the output (time of day, etc.)?

Replies are listed 'Best First'.
Re^2: qx not always capturing stdout
by StuLong (Acolyte) on Mar 23, 2016 at 22:26 UTC

    I have been trying to write a test program that will re-create the issue. So far, no luck. Everything I've done to call the external in my test programs works as expected. I've been trying to make the test programs more complex, adding in more modules, etc., but so far nothing exhibits the symptoms but the main daemon. I will continue to try and replicate.

    My next plan of attack is to un-daemonize the daemon and try running it through the debugger.