From c1202b8d1693e60d74bbb3c0a64dd2abcb2b66ae Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Wed, 19 Oct 2016 19:20:50 +0200 Subject: [PATCH] /bin/sh doesn't have source command. But it has . instead --- python/src/com/jetbrains/python/run/PyVirtualEnvReader.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/run/PyVirtualEnvReader.kt b/python/src/com/jetbrains/python/run/PyVirtualEnvReader.kt index ad77c7df9e20..9aa8a7ccf0d3 100644 --- a/python/src/com/jetbrains/python/run/PyVirtualEnvReader.kt +++ b/python/src/com/jetbrains/python/run/PyVirtualEnvReader.kt @@ -85,7 +85,7 @@ class PyVirtualEnvReader(val virtualEnvSdkPath: String) : EnvironmentUtil.ShellE } return if (activate != null) - mutableListOf(shellPath, "-c", "source '$activate'") + mutableListOf(shellPath, "-c", ". '$activate'") else super.getShellProcessCommand() }