in reply to Re^2: Opening not-existing command - Error Handling
in thread Opening not-existing command - Error Handling
Remember that "dir" is not an executable. It's a shell built-in. So try "cmd /c dir" as your command (and thus your executable is "cmd"). Though, really, dir is a bad example because it's so trivial to do inside perl. Other built-ins may be more difficult/impossible to emulate in perl, so the question is still more or less valid as a general question, just not so much for this particular example.
|
|---|