em1e / 42_minishell

A project about creating a simple shell, my own bash
0 stars 1 forks source link

signals #24

Open sparklebutt opened 2 months ago

sparklebutt commented 2 months ago

araveala : commented out the RESTART flag for re directions with pipes , this is because pipe_forks is now a loop that waits for children created at the end of handling pipes so that cat > new | echo hi works by finishing echo first. Here doc and potentially some cases in may need different signal handling for pausing signals and restarting them.

Issue: sometimes minishell prompt appears incorrectly when certain functions finish. may need a signal handler for determining when to not put prompt.