terminal forking and interrupts
I'm working on an interesting problem here, that is simi-related to the previous post I made 'Finding all your children'.
Language: C++ System: Linux So, if you exec something like... Code:
execlp( "/bin/sh", "/bin/sh", "-c", "./doNothing", (char*)NULL ); On the other hand, if you run something like... Code:
execlp( "/bin/sh", "/bin/sh", "-c", "./doNothing &> /dev/null", (char*)NULL ); Now, here is my question. What does the terminal do? When I run ... Code:
> /bin/sh -c ./doNothing &> /dev/null |
Quote:
Quote:
Quote:
Code:
> /bin/sh -c './doNothing &> /dev/null' ta0kira |
All times are GMT -5. The time now is 06:53 AM. |