summaryrefslogtreecommitdiff
path: root/process.h
diff options
context:
space:
mode:
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: