[TxMt] Re: Trouble redirecting output from stakeout

Allan Odgaard throw-away-1 at macromates.com
Fri Jun 9 11:38:49 UTC 2006


On 9/6/2006, at 0:52, Benjamin Jackson wrote:

> Changed the command to use the ruby stakeout [...]

You need to redirect stdout/error to /dev/null. TM will wait for the  
command to close its output channel, before it considers it as done.

    find . -name '*.as' -print0|xargs -0 /usr/local/script/ 
stakeout.rb rake &>/dev/null &

(I believe the above is a safer use of find/xargs, as it will work  
when file names contain spaces or other input field separator  
characters)




More information about the textmate mailing list