mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user