File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -374,8 +374,8 @@ addToLibrary({
374374
375375#if ENVIRONMENT_MAY_BE_NODE
376376 $nodeOs : "{{{ makeNodeImport('node:os') }}}" ,
377- $nodeChildProcess : "{ { { makeNodeImport ( 'node :child_process ') } } } ",
378- _emscripten_system__deps : [ '$nodeChildProcess ' ] ,
377+ $child_process : "{ { { makeNodeImport ( 'node :child_process ') } } } ",
378+ _emscripten_system__deps : [ '$child_process ' ] ,
379379#endif
380380 _emscripten_system : ( command ) => {
381381#if ENVIRONMENT_MAY_BE_NODE
@@ -385,7 +385,7 @@ addToLibrary({
385385 var cmdstr = UTF8ToString ( command ) ;
386386 if ( ! cmdstr . length ) return 0 ; // this is what glibc seems to do (shell works test?)
387387
388- var ret = nodeChildProcess . spawnSync ( cmdstr , [ ] , { shell :true , stdio :'inherit' } ) ;
388+ var ret = child_process . spawnSync ( cmdstr , [ ] , { shell :true , stdio :'inherit' } ) ;
389389
390390 var _W_EXITCODE = ( ret , sig ) => ( ( ret ) << 8 | ( sig ) ) ;
391391
You can’t perform that action at this time.
0 commit comments