Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
6613a1fb
Commit
6613a1fb
authored
7 years ago
by
vadim.lomshakov
Browse files
Options
Download
Email Patches
Plain Diff
[rider]: return correct pid for WinPtyProcess
parent
0a001398
Branches unavailable
Tags unavailable
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/platform-impl/src/com/intellij/execution/process/OSProcessUtil.java
+3
-0
...mpl/src/com/intellij/execution/process/OSProcessUtil.java
with
3 additions
and
0 deletions
+3
-0
platform/platform-impl/src/com/intellij/execution/process/OSProcessUtil.java
+
3
-
0
View file @
6613a1fb
...
...
@@ -100,6 +100,9 @@ public class OSProcessUtil {
public
static
int
getProcessID
(
@NotNull
Process
process
)
{
if
(
SystemInfo
.
isWindows
)
{
try
{
if
(
process
instanceof
WinPtyProcess
)
{
return
((
WinPtyProcess
)
process
).
getChildProcessId
();
}
if
(
Registry
.
is
(
"disable.winp"
))
{
return
WinProcessManager
.
getProcessPid
(
process
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help