/bin/sh doesn't have source command. But it has . instead

This commit is contained in:
Dmitry Trofimov
2016-10-19 19:20:50 +02:00
parent 2c8fa04911
commit c1202b8d16
@@ -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()
}