Revert "Use stream gobbler to read output and error of engine."

This reverts commit 0daba6310cb1fc9d893f6f617484fdb91fea69fc.
Revert "Show error log of engine instead of the standard out."

This reverts commit 922f601f344de4bfa873b2d75e4fbd86646d342b.