diff --git a/platform/platform-api/src/com/intellij/execution/util/ExecUtil.kt b/platform/platform-api/src/com/intellij/execution/util/ExecUtil.kt index 278d8d226ec4..247a54fafa80 100644 --- a/platform/platform-api/src/com/intellij/execution/util/ExecUtil.kt +++ b/platform/platform-api/src/com/intellij/execution/util/ExecUtil.kt @@ -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)