-e command-line option

From The x3270 Wiki

Instructs the emulator to connect to a local program rather than a host. It must be the final command line option. The token following -e is the name of the program to run. Anything following that is passed as command-line options to the program.

Works only on POSIX.

A local process is implicitly an NVT-mode, non-TELNET session. The terminal name is passed via the TERM environment variable.

Examples

-e bash