Ah thanks for the clarification
salva so they are strings and the method wait the remote command to complete before passing to next instruction? How the
stdout_fh => $fh option is inteded to be used? is sufficient a
waitpid call to be sure no more infos will came in the buffer? As you can understand i lack a lot of info about the overall schema, but if you have the patience to write some lines i'll be glad.
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.