We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec25d46 commit 3652de1Copy full SHA for 3652de1
src/minecraftStarter.js
@@ -334,10 +334,10 @@ class MinecraftStarter {
334
detached: true
335
};
336
337
- // On Windows, hide the console window
+ // On Windows, prevent cmd window from showing without hiding Minecraft
338
if (process.platform === 'win32') {
339
- spawnOptions.windowsHide = true;
340
- spawnOptions.stdio = 'ignore';
+ spawnOptions.shell = false; // Don't use shell, prevents cmd window
+ spawnOptions.stdio = ['ignore', 'ignore', 'ignore']; // Suppress stdio but allow windows
341
} else {
342
spawnOptions.stdio = 'inherit';
343
}
0 commit comments