mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-19 23:20:58 +00:00
using SIGSTOP (avoid interactive signal blocking) (#2)
This commit is contained in:
parent
fa9df5bcef
commit
b4cca890c6
@ -199,7 +199,7 @@ void TraceMe() {
|
|||||||
// In gdb, you need to invoke `signal SIGCONT` if you want ccls to continue
|
// In gdb, you need to invoke `signal SIGCONT` if you want ccls to continue
|
||||||
// after detaching.
|
// after detaching.
|
||||||
if (getenv("CCLS_TRACEME"))
|
if (getenv("CCLS_TRACEME"))
|
||||||
raise(SIGTSTP);
|
raise(SIGSTOP);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetExternalCommandOutput(const std::vector<std::string>& command,
|
std::string GetExternalCommandOutput(const std::vector<std::string>& command,
|
||||||
|
Loading…
Reference in New Issue
Block a user