summaryrefslogtreecommitdiff
path: root/process.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-05 12:40:13 -0500
committerpommicket <pommicket@gmail.com>2022-12-05 12:40:13 -0500
commit074df673a792ce92a972095803f18749b8d92ea3 (patch)
tree2ba7feaa377f5aca57b576e91222435a067829cc /process.h
parent4dc976bc793af39ebad715ef669b335657926f65 (diff)
more lsp, start json parser
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);