in reply to Re^2: System call doesn't recognise '>'
in thread System call doesn't recognise '>'
Note that, on Windoze, the arguments for system are the same as for exec. However, exec isn't, or wasn't, fully supported on Windoze, I think you might have to use the single string form of the call, so in your case, something along the lines of...
Just a thought...my @array = qq/$command $arg1 $arg2 > outfile/; system "@array"; # Use perl to stringify the command argument list
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: System call doesn't recognise '>'
by Lauras (Initiate) on Dec 10, 2008 at 15:00 UTC | |
by Bloodnok (Vicar) on Dec 10, 2008 at 15:05 UTC | |
by Lauras (Initiate) on Dec 10, 2008 at 16:04 UTC | |
by cdarke (Prior) on Dec 10, 2008 at 16:08 UTC | |
by Lauras (Initiate) on Dec 10, 2008 at 16:13 UTC | |
by Bloodnok (Vicar) on Dec 10, 2008 at 16:21 UTC | |
by Lauras (Initiate) on Dec 10, 2008 at 21:42 UTC | |
by Corion (Patriarch) on Dec 10, 2008 at 16:18 UTC | |
by Lauras (Initiate) on Dec 10, 2008 at 21:33 UTC |