aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/string.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-21 20:38:51 +0900
committernsfisis <nsfisis@gmail.com>2026-06-21 21:05:13 +0900
commit195e1d0ec893f4977a37ebb35dc7745dc8c8d3b6 (patch)
tree221016ba98d3a64ba02e5c45e52e78044bdae700 /crates/shirabe-php-shim/src/string.rs
parent40a9b8c4e5f80b1e4dc8df8f5af1b7b4903e69df (diff)
downloadphp-shirabe-195e1d0ec893f4977a37ebb35dc7745dc8c8d3b6.tar.gz
php-shirabe-195e1d0ec893f4977a37ebb35dc7745dc8c8d3b6.tar.zst
php-shirabe-195e1d0ec893f4977a37ebb35dc7745dc8c8d3b6.zip
feat(php-shim): implement exec/shell_exec/system/escapeshell*/posix_isatty
Run exec()/shell_exec()/system() through /bin/sh -c with PHP-faithful line handling and return values. Port escapeshellcmd() (Unix branch, including paired-quote handling) and escapeshellarg(). Implement posix_isatty() via std::io::IsTerminal. uid/signal/process-title helpers and proc_open-dependent status calls remain TODO(phase-d): they need a libc/syscall crate or the deferred process/signal subsystems. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src/string.rs')
0 files changed, 0 insertions, 0 deletions