| View previous topic :: View next topic |
| Author |
Message |
newbie100
Joined: 01 Sep 2008 Posts: 1
|
Posted: Mon Sep 01, 2008 6:33 am Post subject: Running a shell program with parameters |
|
|
I'm just getting started with the trial edition of Automize under Linux.
I'm trying to do something trivial, i.e. run a shell that peforms ls and redirects output to a file, but it doesn't seem to take into account of the parameters i am providing. Could someone please tell me what I am doing wrong (the output is in the log but no file is created)?
/bin/sh -c ls > /home/user/Output.txt
Thanks |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Fri Sep 05, 2008 7:52 am Post subject: |
|
|
We tried that and got the same result on unix.
On windows, it works correctly.
unfortunately, there is nothing we can do about this. It is just the way the unix shell interact with the java exec function. |
|
| Back to top |
|
 |
|