Final commit

This commit is contained in:
Sagi Dayan 2014-04-02 14:47:42 +03:00
parent bc1f7e0712
commit c3286b0698

3
main.c
View file

@ -145,7 +145,10 @@ int main()
}
}
else //pid > 0 father
{
pidOfChild = pid;
waitpid(pid,&status,0);
}
free(path);
free(exe);