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
Loading
Please register or sign in to comment