Skip to content
This repository was archived by the owner on Aug 24, 2018. It is now read-only.

Add "catchOutput" option - #14

Merged
zcbenz merged 9 commits into
masterfrom
stdout
Jan 9, 2015
Merged

zcbenz merged 9 commits into
masterfrom
stdout

Conversation

@zcbenz

@zcbenz zcbenz commented Jan 9, 2015

Copy link
Copy Markdown
Contributor

When the catchOutput option is specified to true, output of the command will be caught and exitCode, stdout and stderr will be returned.

@benogle On OS X we can not get stderr if admin is true, because of the limitation of ExecuteWithPrivileges API.

Fixes #13.

@benogle

benogle commented Jan 9, 2015

Copy link
Copy Markdown

Awesome!

@benogle

benogle commented Jan 9, 2015

Copy link
Copy Markdown

On OS X we can not get stderr if admin is true, because of the limitation of ExecuteWithPrivileges API.

That's fine

zcbenz added a commit that referenced this pull request Jan 9, 2015
Add "catchOutput" option
@zcbenz
zcbenz merged commit 669b5da into master Jan 9, 2015
@zcbenz
zcbenz deleted the stdout branch January 9, 2015 01:52
@zcbenz

zcbenz commented Jan 9, 2015

Copy link
Copy Markdown
Contributor Author

[email protected] has been published for this.

@benogle

benogle commented Jan 9, 2015

Copy link
Copy Markdown

❤️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add stdout capture

2 participants