Documentation Index

Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt

Use this file to discover all available pages before exploring further.

SystemCallAgent

Prev Next

Description

This class allows you to execute a system call. Separate the components of the system call with commas, not spaces. Specify the system call in the Config file field.

If you want to change the default delimiter (comma), use the prefix DELIM:. Add the new delimiter after the prefix. Use exactly one character. For example: DELIM:#test.bat instead of test.bat.

Examples

Example for Windows:

C:\Windows\System32\cmd.exe,/c,dir,/w

NOTE:  The SystemCallAgent does not use the environment variable PATH here. Specify the full path instead.

Example for Linux:

ls,-l

NOTE:  As with Windows, commas separate the components here too. The entry ls,-l means: the command ls with the parameter -l. This is not an invalid Linux command.

NOTE:  For Linux scripts, set the exit code to 0 at the end of the script. The system treats any other value as an error. This does not apply to Windows scripts.

Example:

#!/bin/bash
echo "test"
done
exit 0