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

Archive Index This month's Index

Subject: Re: libssh2_channel_exec issue

Re: libssh2_channel_exec issue

From: A. Mark <gougolith_at_gmail.com>
Date: Sun, 14 Feb 2010 10:46:12 -0800

| It seems that for some reason the channel is closed. żI'm doing it wrong?

Yes, AFAIK the channel closes whenever your application (process)
terminates. If not want to have that happen try to exec a shell like
"/bin/sh" then just do channel writes.

A.M.

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

the libssh2 team