hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Running a shell program with parameters

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Platform specific issues
View previous topic :: View next topic  
Author Message
newbie100



Joined: 01 Sep 2008
Posts: 1

PostPosted: Mon Sep 01, 2008 6:33 am    Post subject: Running a shell program with parameters Reply with quote

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
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Fri Sep 05, 2008 7:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Platform specific issues All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group