in reply to Re: qx and $!
in thread qx and $!

Note that a "system call" is not a call of system — or qx! Instead, it's a call of a call of an OS implemented function.

Errors on those command lines usually send their error messages to STDERR, and also may set "errorlevel" (as it's known in DOS), aka the last program's exit code, which you can read through $? (child error) after some calculation.