Frends.Utilities.RunProcess / 1.1.0
Summary
Runs a program on the agent with arguments and a working directory, returning its exit code and both output streams. This executes arbitrary code with the agent's own privileges.
Typical use — reaching for a command line tool no Task covers — never build the arguments from untrusted input, since that is where command injection gets in
2.0.02026-11-03
Added
- Added
ThrowErrorOnFailureandErrorMessageOnFailureoptions. By default the Task keeps throwing on failure; whenThrowErrorOnFailureis disabled, failures are returned in the resultErrorproperty. - Added
SuccessandErrorproperties to the Task result.
Changed
- Task now targets .NET 8.
1.1.02024-05-16
Added
- You can now specify working directory for the process to run in (#12)
Fixed
- Fixed a bug where the process is executed twice (#11)
1.0.02024-02-09
Changed
- Initial implementation