17 lines
365 B
Plaintext
17 lines
365 B
Plaintext
:sig
|
|
String shell_escape(String raw)
|
|
|
|
:params
|
|
raw : string that should be escaped
|
|
return value : escaped version of 'raw'
|
|
|
|
:desc
|
|
Escapes a parameter for shell_exec
|
|
|
|
:see
|
|
>sys
|
|
|
|
:related
|
|
**PHP:** `escapeshellarg()` and `escapeshellcmd()`
|
|
**JavaScript / Node.js:** There is no direct built-in equivalent; prefer `spawn()` argument arrays and avoid shell interpolation
|