mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 01:21:57 +00:00
using SIGSTOP (avoid interactive signal blocking) (#2)
This commit is contained in:
parent
ebaf168e16
commit
38eccf79ec
@ -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