17 lines
367 B
Plaintext
17 lines
367 B
Plaintext
:sig
|
|
String shell_exec(String cmd)
|
|
|
|
:params
|
|
cmd : string that contains the shell command line to be executed
|
|
return value : output of the command execution
|
|
|
|
:desc
|
|
Executes a Linux shell command and returns the generated output
|
|
|
|
:see
|
|
>sys
|
|
|
|
:related
|
|
**PHP:** `shell_exec()`, `exec()`, or `proc_open()`
|
|
**JavaScript / Node.js:** Node `child_process.exec()` or `spawn()`
|