@php-wasm/utilFunctionscreateSpawnHandlercreateSpawnHandler CallablecreateSpawnHandler(program: (command: string[], processApi: ProcessApi, options: ProcessOptions) => void | Promise<void>): anyUsage:php.setSpawnHandler( createSpawnHandler(function (command, processApi) { console.log(processApi.flushStdin()); processApi.stdout('/\n/tmp\n/home'); processApi.exit(0); }));Parametersprogram: (command: string[], processApi: ProcessApi, options: ProcessOptions) => void | Promise<void>Returns any
Usage: