Skip to content

Commit fc61dfe

Browse files
authored
Revert "Fix spawn calls to use Windows path quoting (#17020)" (#17047)
* Revert "Fix spawn calls to use Windows path quoting (#17020)" This reverts commit 952a5f7. * Bump version
1 parent 952a5f7 commit fc61dfe

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jupyter",
33
"displayName": "Jupyter",
4-
"version": "2025.9.0",
4+
"version": "2025.9.1",
55
"description": "Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more.",
66
"publisher": "ms-toolsai",
77
"author": {

src/platform/common/process/proc.node.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
import { logProcess } from './logger.node';
2323
import { noop } from '../utils/misc';
2424
import { dispose } from '../utils/lifecycle';
25-
import { fileToCommandArgument } from '../helpers';
2625

2726
export class BufferDecoder implements IBufferDecoder {
2827
public decode(buffers: Buffer[]): string {
@@ -81,7 +80,7 @@ export class ProcessService implements IProcessService {
8180

8281
public execObservable(file: string, args: string[], options: SpawnOptions = {}): ObservableExecutionResult<string> {
8382
const spawnOptions = this.getDefaultOptions(options);
84-
const proc = spawn(fileToCommandArgument(file), args, spawnOptions);
83+
const proc = spawn(file, args, spawnOptions);
8584
let procExited = false;
8685
logger.ci(`Exec observable ${file}, ${args.join(' ')}`);
8786
const disposables: IDisposable[] = [];
@@ -156,7 +155,7 @@ export class ProcessService implements IProcessService {
156155
}
157156
public exec(file: string, args: string[], options: SpawnOptions = {}): Promise<ExecutionResult<string>> {
158157
const spawnOptions = this.getDefaultOptions(options);
159-
const proc = spawn(fileToCommandArgument(file), args, spawnOptions);
158+
const proc = spawn(file, args, spawnOptions);
160159
const deferred = createDeferred<ExecutionResult<string>>();
161160
const disposable: IDisposable = {
162161
dispose: () => {

0 commit comments

Comments
 (0)