Corion,
I have now finely settled down with my code and able to execute it fine.So her eI'm executing the same traceroute command which is forked out .
I would like to have a command executed on the remote server via SSH and get the output streaming and display.
Let me know if can give me a hint on how to go about this,since the SSH module I tried wasn't giving me a option to asynchronously process a command's output.