cmd
cmd copied to clipboard
Return StandardError stream
Sometimes it is useful to have the error stream instead of stdout (esp. if the errorlevel != 0)
For example:
var x = cmd.git.describe(); //could return empty string, though console would show 'fatal: No names found, cannot describe anything.'
Not sure of a good interface for this ... perhaps something like this
var x = cmd.git.describe();
//where x is an object which has the following properties? x.ErrorLevel : int x.StdOut : string x.StdErr : string
Yes, this is coming up. Thanks for the input :)