Skip to content

Return StandardError stream #4

@Grynn

Description

@Grynn

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions