Hide service's console on Windows
This commit is contained in:
parent
05be2b25db
commit
ca507d7667
@ -30,7 +30,8 @@ export async function startLocalService(extensionPath: string, workspacePath: st
|
||||
DevChatConfig.getInstance().get("python_for_chat") || "python3";
|
||||
serviceProcess = spawn(pythonApp, [mainPyPath], {
|
||||
env: { ...process.env },
|
||||
stdio: 'inherit'
|
||||
stdio: 'inherit',
|
||||
windowsHide: true, // hide the console window on Windows
|
||||
});
|
||||
|
||||
serviceProcess.on('error', (err) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user