mirror of
https://github.com/Minionguyjpro/Inno-Setup-Action
synced 2026-02-18 17:41:18 +01:00
Hide stdout, stderr and exec output
This commit is contained in:
8
dist/index.js
vendored
8
dist/index.js
vendored
@@ -9,12 +9,10 @@ var exec = require('child_process').exec;
|
|||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
exec(`\"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe\" \"${path}\"`,
|
exec(`\"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe\" \"${path}\"`,
|
||||||
function (error, stdout, stderr) {
|
function (error, stdout, stderr) {
|
||||||
console.log('stdout: ' + stdout);
|
console.log(stdout);
|
||||||
console.log('stderr: ' + stderr);
|
console.log(stderr);
|
||||||
if (error !== null) {
|
|
||||||
console.log('exec error: ' + error);
|
|
||||||
}
|
}
|
||||||
})} else {
|
)} else {
|
||||||
console.error('Error: this action is only supported on Windows!')
|
console.error('Error: this action is only supported on Windows!')
|
||||||
code = 1; process.exit(code);
|
code = 1; process.exit(code);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user