It collects standard-out and standard-error, allowing:
the output to be searched for particular output
the parent process wait for particular output to appear
It collects standard-out and standard-error, allowing:
the output to be searched for particular output
the parent process wait for particular output to appear