summaryrefslogtreecommitdiff
path: root/process.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-18 14:55:10 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-18 14:55:10 -0500
commit8f039627ab777d2b08c0c46d5acacbe84817d20f (patch)
tree0ac67f93e41e29b2b5da836df2bdef54e037947f /process.h
parente239b66691200163c1983b645c28b34825f32ea4 (diff)
:build working (i think)
Diffstat (limited to 'process.h')
-rw-r--r--process.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/process.h b/process.h
index 2e91598..4db864e 100644
--- a/process.h
+++ b/process.h
@@ -4,8 +4,9 @@
typedef struct Process Process;
+// execute the given command (like if it was passed to system()).
// returns false on failure
-bool process_exec(Process *process, char const *program, char **argv);
+bool process_run(Process *process, char const *command);
// returns the error last error produced, or NULL if there was no error.
char const *process_geterr(Process *process);
// returns: