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
{{ message }}
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
I'm trying to spawn ghostface using child_process.spawn().
It's strange because none of the output is getting piped to the console, nor do any exit events trigger.
My guess is that the main ghostface isn't the process actually producing the output, nor the exit codes. Is there some other sub-process generating the output?
varspawn=require('child_process').spawn;varspawned_process;spawned_process=spawn('./node_modules/.bin/ghostface',['test/browser_test_compiled.js']);spawned_process.stdout.pipe(process.stdout);spawned_process.stderr.pipe(process.stderr);spawned_process.on('exit',function(code,signal){console.log("EXITED with code",code);});spawned_process.on('error',function(err){console.log("ERROR",err);});
The same setup works for things like browserify, for example if I do: