Open Oktosha opened 1 year ago
Valgrind behaves weirdly probably due to unclosed pipes. Every forked child receives all the pipes of the parent via fork but interacts only with the 2 file descriptors passed to l_ex_fork. A good child must close all the pipes it doesn't use.
Add dup2 error handling
Better exec:
proper return codes