aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.posix/exec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.posix/exec.cc')
-rw-r--r--nihil.posix/exec.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/nihil.posix/exec.cc b/nihil.posix/exec.cc
deleted file mode 100644
index b4e8732..0000000
--- a/nihil.posix/exec.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * This source code is released into the public domain.
- */
-
-module;
-
-#include <expected>
-#include <format>
-
-module nihil.posix;
-
-import nihil.error;
-import nihil.monad;
-
-namespace nihil {
-
-auto shell(std::string_view const &command) -> std::expected<base_executor_type, error>
-{
- return execl("/bin/sh", "sh", "-c", command);
-}
-
-} // namespace nihil