You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace no-op spawn handler with native child_process.spawn bridge
The createNoopSpawnHandler unconditionally replaced PHP process spawning
with a handler that immediately exits with code 1, silently breaking
proc_open, exec, shell_exec, popen, and system calls.
This replaces it with a handler that bridges to Node.js child_process.spawn,
which php-wasm's setSpawnHandler already supports directly. Studio is a local
development tool where PHP already has host filesystem access via
createNodeFsMountHandler mounts, so process spawning is consistent with the
existing trust model.
Fixes: #3044
See also: #2519
0 commit comments