...
The exec()
builtin function is the standard mechanism for executing system commands; it is a wrapper around the POSIX exec
family of system calls. The system()
builtin function is similar to exec
, but it takes a single string whereas exec()
takes a list. The qx()
function operator, often represented by encasing a command in backquotes (``
), can also be used to execute an arbitrary command. Finally the open()
function can also execute commands in a subprocess and either send data to them or fetch data from them (but not both).
...