bill_marr_at_hotmail.com wrote:
> I wrote a command to shell and then read the exe result but just
> get the write string, why?
The shell echoes back characters that it receives. Otherwise the
command that a user types would not be visible to the user.
> Help!
Make sure you also write a line feed after the command.
But I think you are going the wrong direction, the interactive shell
mode is really an interface for humans, not for programs. What is it
you want to accomplish?
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-09-07