For non-detached processes, manually read and print out stdout and stderr.    By default, the subprocess is supposed to inherit these from its parent,  however when run under buildbot, it seems unable to read data  from a grandchild process, so we have to read the child and print the data  as if it came from us for buildbot to read it.  We're not sure why this is  necessary.
For non-detached processes, manually read and print out stdout and stderr.
   By default, the subprocess is supposed to inherit these from its parent,
 however when run under buildbot, it seems unable to read data
 from a grandchild process, so we have to read the child and print the data
 as if it came from us for buildbot to read it.  We're not sure why this is
 necessary.

Review URL: http://codereview.chromium.org/15092

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@7337 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser