summaryrefslogtreecommitdiff
path: root/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'process.h')
-rw-r--r--process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/process.h b/process.h
index d8bb6ec..854899b 100644
--- a/process.h
+++ b/process.h
@@ -10,6 +10,8 @@ typedef struct {
bool stdout_blocking;
} ProcessSettings;
+// get process ID of this process
+int process_get_id(void);
// execute the given command (like if it was passed to system()).
// returns false on failure
bool process_run_ex(Process *proc, const char *command, const ProcessSettings *props);