Piecewise

Build chat bots with blocks

execute command (command) with arguments (arguments)

In System → Commands

Jump to block

Execute a command on the system. See the documentation for more information, including potential pitfalls.

Parameters

Parameter name Parameter type Required? Description
command String The command to execute.

NOTE: this command is executed in the current $SHELL or %ComSpec% (i.e. sh or cmd), and the current working directory is specified as the .lazurite data directory. | | arguments | Array OR String | | The arguments to pass to the command |

Output

command result - The result of the command