Livl Shell  0.1
Livl Shell is an intermediate reimplementation of the bash shell in C language.
Functions
background_manager.h File Reference

File containing the background manager functions to manage the background processes. More...

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "typedef.h"
#include "command.h"
#include "constants.h"
Include dependency graph for background_manager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void check_completed_background_processes ()
 Method that checks if a background process has completed and prints corresponding information to the user.
 
void add_background_process (pid_t pid, const Command *command)
 Add background process to store information about the process. More...
 

Detailed Description

File containing the background manager functions to manage the background processes.

Author
Julien & Franck
Date
24 Dec 2023

Function Documentation

◆ add_background_process()

void add_background_process ( pid_t  pid,
const Command command 
)

Add background process to store information about the process.

Parameters
pid: the pid of the process
command: the command executed