# [RFC] &$result_code parameter in shell_exec

- Thread: https://externals.io/message/116534
- Original archive: https://news-web.php.net/php.internals/116534
- Started by Luca Petrucci via internals on 2021-11-27T05:14:04+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #116534 — Luca Petrucci via internals — 2021-11-27T05:14:04+00:00

URL: https://externals.io/message/116534#116534

Hi internals,

I have opened a RFC about the addition of an optional &$result_code
parameter to the `shell_exec()` function.

RFC: https://wiki.php.net/rfc/shell_exec_result_code_param

Thanks,
Luca
