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