mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +03:00
Fix debugged process not being terminated when debugging session closes on Linux (#620)
This commit is contained in:
committed by
GitHub
parent
56a7871d06
commit
0fc399bbc3
@@ -221,7 +221,7 @@ export class ServerController {
|
||||
}
|
||||
|
||||
log.info(`Launching game process using command: '${command}'`);
|
||||
const debugProcess = subProcess("debug", command, { shell: true });
|
||||
const debugProcess = subProcess("debug", command, { shell: true, detached: true });
|
||||
|
||||
debugProcess.stdout.on("data", (data) => { });
|
||||
debugProcess.stderr.on("data", (data) => { });
|
||||
|
||||
@@ -227,7 +227,7 @@ export class ServerController {
|
||||
}
|
||||
|
||||
log.info(`Launching game process using command: '${command}'`);
|
||||
const debugProcess = subProcess("debug", command, { shell: true });
|
||||
const debugProcess = subProcess("debug", command, { shell: true, detached: true });
|
||||
|
||||
debugProcess.stdout.on("data", (data) => { });
|
||||
debugProcess.stderr.on("data", (data) => { });
|
||||
|
||||
Reference in New Issue
Block a user