chore: follow-up on Electron launch

This commit is contained in:
Max Schmitt 2024-04-19 00:00:06 +02:00
parent 82aefd24db
commit a043d95207

View file

@ -208,7 +208,9 @@ export class Electron extends SdkObject {
progress.log(message);
browserLogsCollector.log(message);
},
shell: true,
// On Windows in order to run .cmd files, shell: true is required.
// https://github.com/nodejs/node/issues/52554
shell: process.platform === 'win32',
stdio: 'pipe',
cwd: options.cwd,
tempDirectories: [artifactsDir],