summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-23 23:21:54 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-23 23:21:54 +0200
commitd7d48bb2195df25f5caf3fe2232eab83e0edddc2 (patch)
treecbdf18d0b324c99df152450e08762d328ee5422f /src/main.c
parent732910ad461ae94a876d9e661922717553181b07 (diff)
simplify function calls
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index cd38cc3..4879e97 100644
--- a/src/main.c
+++ b/src/main.c
@@ -12,9 +12,10 @@
void execute_string_line(char *line, ShellState *shstate) {
+ int pgid = -1;
Ast ast = lex(line);
PipelineTree pltree = process_ast(*ast.root, shstate);
- execute_pipeline_tree(*pltree.root, shstate, STDIN_FILENO, STDOUT_FILENO);
+ execute_command_pipeline(*pltree.root, STDIN_CHA, STDOUT_CHA, true, &pgid, shstate);
}