Skip to content

Commit

Permalink
readd comment
Browse files Browse the repository at this point in the history
  • Loading branch information
epsilon-0 committed Nov 10, 2023
1 parent 0834738 commit 86b5439
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ pid_t wf::compositor_core_impl_t::run(std::string command)
return -1;
}

/* The following is a "hack" for disowning the child processes,
* otherwise they will simply stay as zombie processes */
pid = fork();
if (pid < 0)
{
Expand Down

0 comments on commit 86b5439

Please sign in to comment.