PREV INDEX NEXT

Author: Unknown
Subject: Ordre of Completed ...
Date: Monday, 30 Nov 2020, 23:21:32

[...@cicada hw5]$ /c/cs323/Hwk5/bashLT
(1)$ ls &
Backgrounded: 2570998
(2)$ bashLT     bashLT.c  Makefile  process-stub.h  time.log
ls
bashLT  bashLT.c  Makefile  process-stub.h  time.log
Completed: 2570998 (0)
(3)$ 

It seems that the staff solution processes the second ls and runs reap zombies right after. Does the order matter? I thought we need to wait for another process call to reap zombies. I was expected "Completed: ..." before the output of the second ls.
PREV INDEX NEXT