Skip to content

Commit cae9d2e

Browse files
committed
Fix: Update spawnProcess call to use 'pipe' for stdio to improve output handling
1 parent a08f112 commit cae9d2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/managers/common/nativePythonFinder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class NativePythonFinderImpl implements NativePythonFinder {
213213
const writable = new PassThrough();
214214
const disposables: Disposable[] = [];
215215
try {
216-
const proc = spawnProcess(this.toolPath, ['server'], { env: process.env });
216+
const proc = spawnProcess(this.toolPath, ['server'], { env: process.env, stdio: 'pipe' });
217217
proc.stdout.pipe(readable, { end: false });
218218
proc.stderr.on('data', (data) => this.outputChannel.error(`[pet] ${data.toString()}`));
219219
writable.pipe(proc.stdin, { end: false });

0 commit comments

Comments
 (0)