¡@

Home 

c++ Programming Glossary: execvp

Writing my own shell… stuck on pipes?

http://stackoverflow.com/questions/1461331/writing-my-own-shell-stuck-on-pipes

close fd 1 if hasNextCmd dup2 fd 1 1 close fd 0 close fd 1 execvp arrayOfWords 0 arrayOfWords cout command not found endl if logic..

How to handle execvp(…) errors after fork()?

http://stackoverflow.com/questions/1584956/how-to-handle-execvp-errors-after-fork

to handle execvp &hellip errors after fork I do the regular thing fork execvp.. &hellip errors after fork I do the regular thing fork execvp cmd in child If execvp fails because no cmd is found how can.. fork I do the regular thing fork execvp cmd in child If execvp fails because no cmd is found how can I notice this error in..

How to make this pipe work in c++?

http://stackoverflow.com/questions/5845151/how-to-make-this-pipe-work-in-c