run (\@cmd, '>pty>', new_chunker(), sub{ print "STDOUT: $_[0]";}, '2>', new_chunker(), sub { print "STDERR: $_[0]";});