IDEA-202796 IDEA-198143 git: limit 'setsid' workaround for Linux systems

* This command is not a part of MacOS system library
This commit is contained in:
Aleksey Pivovarov
2018-12-13 13:58:45 +03:00
parent 2c4da18473
commit eebd6b2507
@@ -233,7 +233,7 @@ object ExecUtil {
@JvmStatic
fun setupNoTtyExecution(commandLine: GeneralCommandLine) {
if (SystemInfo.isUnix && hasSetsid.value) {
if (SystemInfo.isLinux && hasSetsid.value) {
val executablePath = commandLine.exePath
commandLine.exePath = "setsid"
commandLine.parametersList.prependAll("-w", executablePath)