capture process stdout/stderr

fixes #2