Results 1 to 3 of 3
Dear all,
I am trying to write a small script which opens an xterm and executes a command.
So the script would be
xterm -e mycommand -i infile -o outfiel ...
- 01-27-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 2
xterm and logging ouput
Dear all,
I am trying to write a small script which opens an xterm and executes a command.
So the script would be
xterm -e mycommand -i infile -o outfiel -f arg3
the command mycommand asks user for input..
I would like to get the log of output of mycommand , and i am not been able to do it.
any ideas??
I planned to use script for that
xterm -e 'script mylog ; mycommand -i infile -o outfiel -f arg3'
but it doesnt work. any help
cheers,
cyrs
- 01-27-2010 #2
Try this:
Code:xterm -e script mylog -c "mycommand -i infile -o outfile -f arg3"
- 01-28-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 2


Reply With Quote
