From aabbd212f6ba9a38999ea6e6f478bc8afae677d0 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 9 Oct 2024 13:59:59 +0200 Subject: sh: Add support for running commands in the background --- userland/minibox/utilities/sh/lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userland/minibox/utilities/sh/lexer.c') 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; -- cgit v1.2.3