Fix checking of foreground process
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 79ca76a9)
parent
17cf652a
Please register or sign in to comment