![]() |
Livl Shell
0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
|
File containing the scheduler functions to manage the execution of commands. More...
#include "typedef.h"#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/wait.h>#include <string.h>#include "command.h"#include "console.h"#include "builtin_commands.h"#include "redirection.h"#include "operator.h"#include "background_manager.h"#include "constants.h"

Go to the source code of this file.
Functions | |
| int | execute_external_command (const Command *command, int run_in_background) |
| Executes an external command. More... | |
| int | execute_command (const Command *command, CommandSequence *commandSequence, int run_in_background) |
| Executes a command internal to the shell. More... | |
| int | execute_command_sequence (CommandSequence *sequence) |
| Executes a sequence of commands with operators. More... | |
File containing the scheduler functions to manage the execution of commands.
| int execute_command | ( | const Command * | command, |
| CommandSequence * | commandSequence, | ||
| int | run_in_background | ||
| ) |
Executes a command internal to the shell.
| command | The command to execute |
| commandSequence | The command sequence to free |
| run_in_background | 0 for false, 1 for true |
| int execute_command_sequence | ( | CommandSequence * | sequence | ) |
Executes a sequence of commands with operators.
| sequence | The sequence of commands to execute |
| int execute_external_command | ( | const Command * | command, |
| int | run_in_background | ||
| ) |
Executes an external command.
| command | The command to execute |
| run_in_background | 0 for false, 1 for true |
1.8.17