https://issues.apache.org/jira/browse/EXTSCRIPT-177 adding stdout capture so that we have meaningful error messages