exec

Execute a command, replacing the current process.

Signature

> exec (command) ...rest

Parameters

  • command: the command to execute
  • ...rest: any additional arguments for the command

Notes

Currently supported only on Unix-based systems.

Examples

Execute external 'ps aux' tool

> exec ps aux

Execute 'nautilus'

> exec nautilus