For the complete documentation index, see llms.txt. This page is also available as Markdown.

RunProcess

Frends Task for running cmd or bash commands in a local machine.

Task version: 1.1.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

FileName : String

An application or document with which to start a process. Use cmd.exe to execute command on "command line".

Default: cmd.exe Example: cmd.exe

Arguments : String[]

Command-line arguments to use when starting the application.

For Windows use /C start and on Unix use -c.

Default: - Example: [ "/C", "echo Hello" ]

WorkingDirectory : String

Working directory for the process.

Default: - Example: /working/directory OR C:\working\directory

Task Result

Name
Description

ExitCode : Int32

The status that the process returned when it exited. Example: 0

Output : String

The process normal output (STDOUT) Example: testvalue

StdErr : String

The process error output (STDERR) Example: The system cannot find the file specified.

Task Changelog

Changelog for Task Frends.Utilities.RunProcess.

[1.1.0] - 2024-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.0] - 2024-02-09

Changed

  • Initial implementation

Last updated

Was this helpful?