Closed zcbenz closed 9 years ago
When the catchOutput option is specified to true, output of the command will be caught and exitCode, stdout and stderr will be returned.
catchOutput
true
exitCode
stdout
stderr
@benogle On OS X we can not get stderr if admin is true, because of the limitation of ExecuteWithPrivileges API.
admin
ExecuteWithPrivileges
Fixes #13.
Awesome!
On OS X we can not get stderr if admin is true, because of the limitation of ExecuteWithPrivileges API.
That's fine
runas@1.1.0 has been published for this.
:heart:
When the
catchOutput
option is specified totrue
, output of the command will be caught andexitCode
,stdout
andstderr
will be returned.@benogle On OS X we can not get
stderr
ifadmin
istrue
, because of the limitation ofExecuteWithPrivileges
API.Fixes #13.