fix: use \n in the python command

This commit is contained in:
Amin Yahyaabadi 2021-09-16 15:16:12 -05:00
parent a9e63280c3
commit 8a1490eabe
1 changed files with 1 additions and 1 deletions

View File

@ -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)