[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to execute a long-time blocking command on remote server?
[Thread Prev] | [Thread Next]
- Subject: Re: how to execute a long-time blocking command on remote server?
- From: Nikolay <nitro@xxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 1 Nov 2017 11:49:47 +0200
- To: libssh@xxxxxxxxxx
Hi,From the libssh's point of view, there is no difference if your remote command is long or short time running.
request_exec just starts the command and returns after it is started. After that you can read/write to the channel. As the command is finished, you will get an EOF on remote stdin stream.
Best regards, Nikolay Karikh. 01.11.2017 11:44, kipade wrote:
hi all,as the topic, how to execute a long-time blocking command on remote machine viassh_channel_request_exec? or i can use this interface for such purpose? any hints will be very appreciated.
Attachment:
smime.p7s
Description: Криптографическая подпись S/MIME
回复:how to execute a long-time blocking command on remote server? | "kipade@xxxxxxx" <kipade@xxxxxxx> |
how to execute a long-time blocking command on remote server? | kipade <kipade@xxxxxxx> |