aboutsummaryrefslogtreecommitdiff
path: root/include/multiprocessing.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/multiprocessing.h')
-rw-r--r--include/multiprocessing.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/multiprocessing.h b/include/multiprocessing.h
index f1cc815..aac6d18 100644
--- a/include/multiprocessing.h
+++ b/include/multiprocessing.h
@@ -16,6 +16,8 @@ struct MultiProcessingTask {
int status; ///< Child process exit status
int signaled_by; ///< Last signal received, if any
char ident[255]; ///< Identity of the pool task
+ char *cmd; ///< Shell command(s) to be executed
+ char working_dir[PATH_MAX]; ///< Path to directory `cmd` should be executed in
char log_file[PATH_MAX]; ///< Full path to stdout/stderr log file
char parent_script[PATH_MAX]; ///< Path to temporary script executing the task
struct {