From b9fa04c06be0876861017eff5ee032ca71acda3d Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Fri, 25 Sep 2020 12:03:08 -0700 Subject: [PATCH] Do not quote isolated in exec module --- src/client/common/process/internal/python.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/common/process/internal/python.ts b/src/client/common/process/internal/python.ts index d553e54293c1..ef24d4c6d684 100644 --- a/src/client/common/process/internal/python.ts +++ b/src/client/common/process/internal/python.ts @@ -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.