[TxMt] Setting command results .

Allan Odgaard throw-away-1 at macromates.com
Mon Jan 23 13:12:34 UTC 2006

On 23/1/2006, at 13:17, Simon Gregory wrote:

> I'm trying to update/extend the ActionScript bundle and replace the  
> commands that output using the deprecated "Show in Seprate Window".

Sounds good! :)

> [...] Trouble is the following leaves me with nothing to work with:

Likely mtasc writes the output to stderr instead of stdout. You can  
redirect stderr to stdout using 2>&1, so the command would be:

    complieResult=$( mtasc 2>&1 -cp "$TM_MX_CLASSES" … )

More information about the textmate mailing list