Skip to content

Execute command line

Description

Executes a terminal command with the input command name and arguments. Outputs the stdout from the command

Input Ports

Name dataType sourceType required description
Command text link-manual true The command you want to execute. The command should be a valid command based on the environment. Follow this link for more information for windows and here for linux
Command arguments text-list link-manual false The arguments are the variables that the command utilize, and the order of it is important
Working directory text link-manual false The working directory is the path the command will be executed from

Scenarios

  • The user wants to execute a command inside of a targeted directory
  • The user wants to execute a command inside of a targeted directory with arguments

Use case

Command

Inputs
  • Command: dir
  • Command arguments: -10000
  • Working directory: D:\Example\Repo\Project_One
Experienced tips
  • If the command you specified is incorrect, the process will stop and provide you with the following error. spawn ds ENOENT
  • If you do the specify a command, the process will stop and provide you with the following error. The argument 'file' cannot be empty. Received ''
  • If you do not specify a Working directory, the command will be executed at the home path of Roboteur
Search Tags

Execute commands Terminal command execution