diff process.h @ 0:21b543c7aa14

Initial commit
author Yasuri <yasuri@charliesmp.net>
date Sun, 13 Sep 2026 19:19:56 +0000
parents
children 00b62a080354
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/process.h	Sun Sep 13 19:19:56 2026 +0000
@@ -0,0 +1,4 @@
+#pragma once 
+#include <string>
+std::string spawn(char* const argv[], const char* path);
+std::string run_piped(const char* path, char* const argv[], const std::string& input);