summaryrefslogtreecommitdiff
path: root/userland/minibox/utilities/sh/ast.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-10-09 13:59:59 +0200
committerAnton Kling <anton@kling.gg>2024-10-09 13:59:59 +0200
commitaabbd212f6ba9a38999ea6e6f478bc8afae677d0 (patch)
treecb05eab3124b5e136ec6e6425e13a6765c50b7a7 /userland/minibox/utilities/sh/ast.h
parent3743da5e714696adc9537eae8134a583f36aa1e6 (diff)
sh: Add support for running commands in the background
Diffstat (limited to 'userland/minibox/utilities/sh/ast.h')
-rw-r--r--userland/minibox/utilities/sh/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/minibox/utilities/sh/ast.h b/userland/minibox/utilities/sh/ast.h
index ae43f67..0c5768f 100644
--- a/userland/minibox/utilities/sh/ast.h
+++ b/userland/minibox/utilities/sh/ast.h
@@ -27,6 +27,7 @@ struct AST {
struct AST *pipe_rhs; // in "func1 | func2" func2 is the piped rhs
int file_out_fd_to_use;
int file_out_append;
+ int should_background;
struct sv file_out; // in "func1 > file.txt" file.txt is the file_out
struct AST *next;
};