summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
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);
}