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 6389bb0 commit 9777eaeCopy full SHA for 9777eae
src/index.ts
@@ -170,8 +170,9 @@ async function startServer(retries = 2) {
170
server = spawn(serverBinPath, ['start'], {
171
windowsHide: true,
172
stdio: ['inherit', 'pipe', 'pipe'],
173
- shell: isWindows,
174
- detached: !isWindows
+ shell: isWindows, // Required to spawn a .cmd script
+ windowsVerbatimArguments: false, // Fixes quoting in windows shells
175
+ detached: !isWindows // Detach on Linux, so we can cleanly kill as a group
176
});
177
178
server.stdout.pipe(process.stdout);
0 commit comments