in reply to system() implementation on Windows (again)
I recommend to create a small Perl script:
# file joined-echo.pl print join('||', @ARGV), "\n";
And use system($^X, 'joined-echo.pl', @rest_of_your_args) for testing - that way you know exactly that the command you're testing doesn't do any magical argument processing on its own.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: system() implementation on Windows (again)
by Anonymous Monk on Aug 19, 2011 at 13:13 UTC | |
by Anonymous Monk on Aug 19, 2011 at 14:18 UTC |