aboutsummaryrefslogtreecommitdiff
path: root/stdlib/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/shell.h')
-rw-r--r--stdlib/shell.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/stdlib/shell.h b/stdlib/shell.h
index 48c59abc..16d0b10d 100644
--- a/stdlib/shell.h
+++ b/stdlib/shell.h
@@ -5,15 +5,20 @@
#include <stdbool.h>
#include <stdint.h>
-#include "types.h"
+#include "arrays.h"
#include "datatypes.h"
+#include "optionals.h"
+#include "text.h"
+#include "types.h"
#define Shell_t Text_t
#define Shell(text) ((Shell_t)Text(text))
#define Shells(...) ((Shell_t)Texts(__VA_ARGS__))
-Text_t Shell$run(Shell_t command, int32_t *status);
+OptionalClosure_t Shell$by_line(Shell_t command);
Shell_t Shell$escape_text(Text_t text);
+OptionalArray_t Shell$run_bytes(Shell_t command);
+OptionalText_t Shell$run(Shell_t command);
#define Shell$hash Text$hash
#define Shell$compare Text$compare