Do you know where your variables are? | |
PerlMonks |
Re^3: qx not always capturing stdoutby FreeBeerReekingMonk (Deacon) |
on Mar 24, 2016 at 00:26 UTC ( [id://1158666]=note: print w/replies, xml ) | Need Help?? |
Found an example, where the daemonization closes STDOUT and STDIN in order to not create files. This could confuse the child process (which has no stdout). So either, maybe this works:
or you will have to redirect your output to a file qx("/external/command > /tmp/file") and read it back using open(), diamond and close()
In Section
Seekers of Perl Wisdom
|
|