diff options
Diffstat (limited to 'src/Program.c')
-rw-r--r-- | src/Program.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Program.c b/src/Program.c index c6bff50..0ad19f2 100644 --- a/src/Program.c +++ b/src/Program.c @@ -168,6 +168,8 @@ int exec_program_async(const char **args, pid_t *result_process_id) { setsid(); signal(SIGHUP, SIG_IGN); + // TODO: Still creates zombie??? find a fix! + // Daemonize child to make the parent the init process which will reap the zombie child pid_t second_child = fork(); if(second_child == 0) { // child |