summaryrefslogtreecommitdiff
path: root/userland/minibox/utilities/sh/lexer.c
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/lexer.c
parent3743da5e714696adc9537eae8134a583f36aa1e6 (diff)
sh: Add support for running commands in the background
Diffstat (limited to 'userland/minibox/utilities/sh/lexer.c')
-rw-r--r--userland/minibox/utilities/sh/lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/minibox/utilities/sh/lexer.c b/userland/minibox/utilities/sh/lexer.c
index 0df796f..40e7211 100644
--- a/userland/minibox/utilities/sh/lexer.c
+++ b/userland/minibox/utilities/sh/lexer.c
@@ -49,7 +49,7 @@ int parse_operand(struct sv *code_ptr, struct TOKEN *cur) {
TRY_PARSE_STRING(">>", TOKEN_STREAM_APPEND);
TRY_PARSE_STRING(">", TOKEN_STREAM);
TRY_PARSE_STRING("|", TOKEN_PIPE);
- // TODO: &
+ TRY_PARSE_STRING("&", TOKEN_BACKGROUND);
// Failed to parse
return 0;