We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use this, but get not output on Windows:
cp.execSync(c, {stdio: 'inherit'});
The text was updated successfully, but these errors were encountered:
A simple program
var cp = require("child_process"); cp.execSync("c:/msys64/mingw64/bin/c++", {stdio: 'inherit'});
gives the following output
C:\builds\npackd-minsizerel-jake\npackdg>node C:\Users\IEUser\Documents\npackd-cpp\npackdg\Test.js c++: fatal error: no input files compilation terminated. child_process.js:669 throw err; ^ Error: Command failed: c:/msys64/mingw64/bin/c++ at checkExecSyncError (child_process.js:630:11) at Object.execSync (child_process.js:666:15) at Object.<anonymous> (C:\Users\IEUser\Documents\npackd-cpp\npackdg\Test.js:3:4) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47 { status: 1, signal: null, output: [ null, null, null ], pid: 5252, stdout: null, stderr: null }
Sorry, something went wrong.
False alarm. The problem was that gcc crashed. Not sure if it is possible to output more information in this case.
No branches or pull requests
I use this, but get not output on Windows:
cp.execSync(c, {stdio: 'inherit'});
The text was updated successfully, but these errors were encountered: