Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Do not quote isolated in exec module
  • Loading branch information
karthiknadig committed Sep 25, 2020
commit b9fa04c06be0876861017eff5ee032ca71acda3d
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