aboutsummaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/system.h b/include/system.h
index 8ad613f..cdbefd8 100644
--- a/include/system.h
+++ b/include/system.h
@@ -15,9 +15,13 @@
#include <sys/stat.h>
struct Process {
- char stdout[PATH_MAX];
- char stderr[PATH_MAX];
+ // Write stdout stream to file
+ char f_stdout[PATH_MAX];
+ // Write stderr stream to file
+ char f_stderr[PATH_MAX];
+ // Combine stderr and stdout (into stdout stream)
int redirect_stderr;
+ // Exit code from program
int returncode;
};