Skip to content

Commit

Permalink
Do not quote isolated in exec module
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Sep 25, 2020
1 parent 7a86cf0 commit b9fa04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/common/process/internal/python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function execCode(code: string, isolated = true): string[] {
export function execModule(name: string, moduleArgs: string[], isolated = true): string[] {
const args = ['-m', name, ...moduleArgs];
if (isolated) {
args[0] = ISOLATED.fileToCommandArgument();
args[0] = ISOLATED;
}
// "code" isn't specific enough to know how to parse it,
// so we only return the args.
Expand Down

0 comments on commit b9fa04c

Please sign in to comment.