I don't hope for a good explanation for the following, but maybe someone has already experienced something similar, or has some idea about where I could research for this problem:
We have a Perl application running continuously on Windows XP on several hosts (each running its own copy). One of these copies out of a sudden got "mad", in that EVERY execution of an external program, using qx(), started to fail, while running commands using system() always worked. We could see this from the logfiles (our application does plenty of qx and system calles), and also by other diagnostics. The failure was independent of which command was executed; in fact, we could not see any sign that command execution was started, and $? contained 0xFFFFFFFF afterwards. Other Perl programs on the same host did not have any problem with qx.
I killed this program and restarted it, but the restarted program shows the SAME error right from the beginning.
I then restarted it again (always in the same CMD shell), and now the problem was gone - everything worked like normal.
In reply to qx(....) suddenly failing by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |