It only on unix platforms
Capture child output

The output is given to the retry policy function to better evaluate what
was the cause of the error