diff options
| -rw-r--r-- | redes/exec.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/redes/exec.c b/redes/exec.c index 8fb42b8..756eee6 100644 --- a/redes/exec.c +++ b/redes/exec.c @@ -9,9 +9,6 @@ void execute_cmd(ExecutableCommand cmd, int* pgid) { - printf("Ok\n"); - fflush(stdout); - pid_t pid = fork(); if (pid == 0) { @@ -104,15 +101,11 @@ void execute_command_pipeline(Pipeline pipeline) { int trunk_fd = STDIN_FILENO; int pgid = -1; - printf("Starting pipeline of length %d\n", pipeline.count); - fflush(stdout); signal(SIGTTIN, SIG_IGN); signal(SIGTTOU, SIG_IGN); for (int i = 0; i < pipeline.count; i++) { - printf("Processing cmd %d\n", i); - fflush(stdout); PlCommand cmd = *get_from_Pipeline(&pipeline, i); ExecutableCommand exec_cmd = process_pl_command(cmd); exec_cmd.stdin_fd = trunk_fd; @@ -140,7 +133,5 @@ void execute_command_pipeline(Pipeline pipeline) { } void execute_pipeline_tree(PipelineTree pltree) { - printf("Hello\n"); - fflush(stdout); execute_command_pipeline(*pltree.root); } |
