We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When piping, the parent process (providing the prompt), waits until all child processes / cmd executions are finished:
:~$ cat | cat | ls private repos [--> ls printout] [press Enter -> ends cat] [press Enter -> end cat] aschenk@c3a7c2:~/Documents$
However, in our minishell, the parent goes ahead and already prints the new prompt before all processes wrapped up:
🌈 minishell$ cat | cat | ls private repos 🌈 minishell$ [need to press ENTER / any other key x2 in order to 'release' prompt input]
Solution: Parent process only waits for the the last child process to terminate, make it wait for all before continuing.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When piping, the parent process (providing the prompt), waits until all child processes / cmd executions are finished:
However, in our minishell, the parent goes ahead and already prints the new prompt before all processes wrapped up:
Solution: Parent process only waits for the the last child process to terminate, make it wait for all before continuing.
The text was updated successfully, but these errors were encountered: