fix pleasant progress throwing error when ran from child_process.exec, r...

...eferences #434