Minishell
|
Functions | |
void | wait_child (int cpid, data_t *data) |
void wait_child | ( | int | cpid, |
data_t * | data ) |
This function waits for the executed command to finish and prints any error that could have happened also it will save its exit status code on data->status
cpid | Child process id |
data | Global data structure |