www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: multiple exec

Re: multiple exec

From: A. Mark <gougolith_at_gmail.com>
Date: Thu, 21 Jan 2010 13:47:57 -0800

Thanks Peter !

On Thu, Jan 21, 2010 at 1:00 PM, Peter Stuge <peter_at_stuge.se> wrote:

> A. Mark wrote:
> > I was wondering what would be the simplest way to execute two
> > commands simultaneously using libssh2.
> ..
> > I'm afraid however that I can't do another channel exec until the
> > previous process has finished and the channel has closed.
>
> The channel may even be destroyed after the exec:ed command returns.
>
> One solution is to simply create many channels. That works just fine.
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-21

the libssh2 team