This content has been marked as final.
Show 4 replies
-
1. Re: How to write a script to get off the console after calling /run.sh?
jaikiran Mar 22, 2011 6:17 AM (in response to thomas2008ch)You can just do:
./run.sh > console.log &
that will redirect the console output to console.log and the "&" will run the command in the background.
-
2. Re: How to write a script to get off the console after calling /run.sh?
thomas2008ch Mar 22, 2011 6:56 AM (in response to jaikiran)Many thanks.
But will the console.log overwrited every time I start the command? I hope so. Otherwise the console.log will getting bigger and bigger.
-
3. Re: How to write a script to get off the console after calling /run.sh?
jaikiran Mar 22, 2011 7:06 AM (in response to thomas2008ch)Yes it will.
-
4. Re: How to write a script to get off the console after calling /run.sh?
thomas2008ch Mar 22, 2011 9:51 AM (in response to jaikiran)Many thanks. But I use > /dev/null sothat there is no log file to create.
Many thanks!