From 9cdccdd2ac5140a5a265926501a919a3b86f8d84 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 15 Jul 2020 12:39:10 +0200 Subject: term: break out fork+exec functionality to a separate file --- spawn.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 spawn.h (limited to 'spawn.h') diff --git a/spawn.h b/spawn.h new file mode 100644 index 00000000..129cadc2 --- /dev/null +++ b/spawn.h @@ -0,0 +1,6 @@ +#pragma once + +#include +#include "reaper.h" + +bool spawn(struct reaper *reaper, const char *cwd, char *const argv[]); -- cgit v1.3