Returning standard output for command in status 'running'