diff --git a/Microshell/microshell.c b/Microshell/microshell.c index 0696c2a..95aeabe 100644 --- a/Microshell/microshell.c +++ b/Microshell/microshell.c @@ -52,6 +52,8 @@ int main (){ printf("\n"); execvp(argv[0], argv); } + else + wait(NULL); } return 0; }