This commit is contained in:
Jakub Adamski 2019-01-10 14:04:29 +01:00
parent 0b875d62fc
commit 7ae5848374

View File

@ -48,6 +48,7 @@ int main (){
else if (!strcmp(argv[0], "exit")) else if (!strcmp(argv[0], "exit"))
break; break;
else else
if (fork() == 0)
execvp(argv[0], argv); execvp(argv[0], argv);
} }
return 0; return 0;