From 8a1490eabe0ea37e6944915094b51f8b38b08a95 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 16 Sep 2021 15:16:12 -0500 Subject: [PATCH] fix: use \n in the python command --- src/utils/setup/setupPipPack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/setup/setupPipPack.ts b/src/utils/setup/setupPipPack.ts index 9e72fad6..43b86b0e 100644 --- a/src/utils/setup/setupPipPack.ts +++ b/src/utils/setup/setupPipPack.ts @@ -34,7 +34,7 @@ export async function setupPipPack(name: string, version?: string) { } else if (process.platform === "darwin") { binDir = "/usr/local/bin/" } else { - binDir = (await getExecOutput("python -c 'import sys; print(sys.base_exec_prefix)'")).stdout + binDir = (await getExecOutput("python -c 'import sys\nprint(sys.base_exec_prefix)'")).stdout } info(`${binDir} to PATH`) addPath(binDir)