The old method of checking it has unnecessary overhead (doing a full
process info update), and wasn't very reliable.
Instead just get the original shell PID from QProcess (via KProcess),
and the foreground process from the PTY.
CCBUG: 367746
REVIEW: 128789
(cherry picked from commit 79ca76a946)
wilder-portage
parent
17cf652a9c
commit
17a3ee5dfa
2 changed files with 7 additions and 5 deletions
Loading…
Reference in new issue