ent
This commit is contained in:
parent
d541025d96
commit
b8a86e7456
@ -50,10 +50,8 @@ int main (){
|
||||
else if (!strcmp(argv[0], "exit"))
|
||||
break;
|
||||
else
|
||||
if (fork() == 0){
|
||||
printf("\n");
|
||||
if (fork() == 0)
|
||||
execvp(argv[0], argv);
|
||||
}
|
||||
else
|
||||
wait(NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user