mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed bringing terminal window into foreground for Rider (FIXED RIDER-114936)
IJ-MR-140313 GitOrigin-RevId: af8f3465a9725cd1186916a7f55ba6232367dc9a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
74a1c1fdc4
commit
d3a058c788
+2
-2
@@ -70,8 +70,8 @@ private fun tryFindParentProcess(pid: UInt, parentProcessesWeLookingFor: List<St
|
||||
}
|
||||
|
||||
private fun WinBringProcessWindowToForegroundSupport.tryBringWindowsTerminalInForeground(dataHolder: UserDataHolder, pid: UInt): Boolean {
|
||||
if (tryFindParentProcess(pid, listOf("cmd.exe")) == null) {
|
||||
logger.trace { "The process hasn't been launched under cmd.exe" }
|
||||
if (tryFindParentProcess(pid, listOf("JetBrains.Debugger.Worker.exe")) == null) {
|
||||
logger.trace { "The process hasn't been launched under JetBrains.Debugger.Worker.exe" }
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user