[TxMt] Re: Capturing error messages

Greg web at web.knobby.ws
Sun Jul 3 15:58:13 UTC 2011


On Jul 3, 2011, at 12:58 AM, Martin Kühl wrote:

> Scripts have two "channels" for messages, one for output
> and one for error messages. After your command, `perlOutput` contains
> messages from the former. If you append `2>&1` to the command (inside
> the backticks) it will contain messages from either. If a script doesn't
> use the error channel it won't make any difference.

Glad I asked. Does make a difference. The script does return error info. I had taken it out thinking to not have stuff in the script that might cause problems and took it out before noticing the difference.


More information about the textmate mailing list