exec for system

Execute a command, replacing the current process.

Signature

> exec (command)

Parameters

  • command: the command to execute

Input/output types:

inputoutput
nothingany

Examples

Execute external 'ps aux' tool

> exec ps aux

Execute 'nautilus'

> exec nautilus

Notes

Currently supported only on Unix-based systems.