Inedo / inedox-windows

Windows extension for Otter and BuildMaster.
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Add SuccessExitCode to PSExec and PSCall #73

Closed whatatripp closed 5 years ago

whatatripp commented 5 years ago

This should be identical to Execute Process, except that it should default to null as to keep with current behavior.

SuccessExitCode

Success exit code. Integer exit code which indicates no error. The default is empty, which means that the error code will not be used to evaluate success. This can also be an integer prefixed with an inequality operator (e.g. ">=0" or "<5").

BenLubar commented 5 years ago

For PSCall, this is tougher, since PSCall already passes the entire argument space to the PowerShell process. Deferring PSCall support for SuccessExitCode pending further discussion.