aboutsummaryrefslogtreecommitdiff
path: root/include/Program.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Program.h')
-rw-r--r--include/Program.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Program.h b/include/Program.h
index bc3e91e..cd45b30 100644
--- a/include/Program.h
+++ b/include/Program.h
@@ -30,7 +30,9 @@ bool wait_program_non_blocking(pid_t process_id, int *status);
/*
@args need to have at least 2 arguments. The first which is the program name
- and the last which is NULL, which indicates end of args
+ and the last which is NULL, which indicates end of args.
+ @result_process_id should be set to NULL if you are not interested in the exit status of the child process
+ and you want the child process to be cleaned up automatically when it dies.
*/
int exec_program_async(const char **args, pid_t *result_process_id);
#if 0