using SIGSTOP (avoid interactive signal blocking) (#2)

This commit is contained in:
Amos Bird 2018-04-18 15:17:24 +08:00 committed by Fangrui Song
parent ebaf168e16
commit 38eccf79ec

View File

@ -199,7 +199,7 @@ void TraceMe() {
// In gdb, you need to invoke `signal SIGCONT` if you want ccls to continue
// after detaching.
if (getenv("CCLS_TRACEME"))
raise(SIGTSTP);
raise(SIGSTOP);
}
std::string GetExternalCommandOutput(const std::vector<std::string>& command,