using SIGSTOP (avoid interactive signal blocking)

This commit is contained in:
Amos Bird 2018-04-18 10:29:10 +08:00
parent fa9df5bcef
commit 678174b373

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,