1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

Shell: Wait for the parent to deal with the PGID stuff before execvp()

This commit is contained in:
AnotherTest 2020-08-12 01:14:34 +04:30 committed by Andreas Kling
parent be395aab9a
commit 2b51250863
2 changed files with 35 additions and 0 deletions

View file

@ -53,6 +53,8 @@ public:
dbg() << "Command \"" << m_cmd << "\" finished in " << elapsed << " ms";
}
#endif
if (m_pipeline)
m_pipeline = nullptr;
}
pid_t pgid() const { return m_pgid; }