Switch to side-by-side view
--- a/src/utils/execmd.h +++ b/src/utils/execmd.h @@ -146,6 +146,11 @@ * accomplish the same thing */ void setKill() {m_killRequest = true;} + + /** + * Get rid of current process (become ready for start). + */ + void zapChild() {setKill(); (void)wait();} ExecCmd() : m_advise(0), m_provide(0), m_timeoutMs(1000)