aboutsummaryrefslogtreecommitdiff
path: root/spawn.h
diff options
context:
space:
mode:
Diffstat (limited to 'spawn.h')
-rw-r--r--spawn.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/spawn.h b/spawn.h
new file mode 100644
index 00000000..2ab645a8
--- /dev/null
+++ b/spawn.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <stdbool.h>
+#include "reaper.h"
+
+bool spawn(struct reaper *reaper, const char *cwd, char *const argv[],
+ int stdin_fd, int stdout_fd, int stderr_fd);