aboutsummaryrefslogtreecommitdiff
path: root/src/Program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Program.cpp')
-rw-r--r--src/Program.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Program.cpp b/src/Program.cpp
index 513ce8c..c66611d 100644
--- a/src/Program.cpp
+++ b/src/Program.cpp
@@ -219,6 +219,8 @@ int wait_program_non_blocking(pid_t process_id, int *status) {
return 1;
}
+// TODO: Verify if this can cause issues when |result_process_id| is null, because |args| may be deallocated
+// by the time its used in the last execvp.
int exec_program_async(const char **args, pid_t *result_process_id) {
/* 1 arguments */
if(args[0] == NULL)