coms
This commit is contained in:
parent
b49247029f
commit
209bdb86a6
|
@ -105,11 +105,11 @@ int main(int argc, char *argv[])
|
|||
else
|
||||
{ // instructions du père
|
||||
if (cmd->backgrounded)
|
||||
{ // on sauvegarde le pid du procces mis en fond
|
||||
{ // on sauvegarde le pid, si background
|
||||
ajouter(&jobs, pidFils, job_id++);
|
||||
}
|
||||
else
|
||||
{
|
||||
{ // on attend le fils, si foreground
|
||||
jmp_buf env;
|
||||
setjmp(env); // sauvegarde pour un jump
|
||||
|
||||
|
|
Loading…
Reference in a new issue