redirect output of command run locally with 'send_command'