Execute() action

From The x3270 Wiki

The Execute() action executes a command as a child process of the emulator. It returns the standard output of the command.

Execute() is a simple wrapper around the Script() action.

Return value

Execute() returns the output of the command. It will fail if the program exits with non-zero status.


Run a typical script.

x3270> Execute("date")
Tue Mar 31 17:37:46 CDT 2020