diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-08-07 13:37:55 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-08-07 13:37:55 +0300 |
| commit | a112f18ba2c4dec97a0d39ac11feca7b7c43e67e (patch) | |
| tree | 8e7b6276a6e80f3e8a243c8aaa5ae3596e9e9958 | |
| parent | node.scm: Update copyright dates (diff) | |
| download | guile-ssh-a112f18ba2c4dec97a0d39ac11feca7b7c43e67e.tar.gz | |
api-channels.texi (channel-request-exec): Recommend to use remote pipes
* doc/api-channels.texi (channel-request-exec): Recommend to use remote pipes
as more high-level interface.
| -rw-r--r-- | doc/api-channels.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api-channels.texi b/doc/api-channels.texi index 10d99cc..827a343 100644 --- a/doc/api-channels.texi +++ b/doc/api-channels.texi @@ -53,6 +53,8 @@ Run a shell @var{command} without an interactive shell. The @var{channel} must be open. Throw @code{guile-ssh-error} on error. Return value is undefined. +This procedure is a low-level one and you should use remote pipes instead (@pxref{Remote Pipes}). + @strong{Note} that the procedure only can be used to execute a single command on the remote host, so you should close the channel after @code{channel-request-exec}. If you want to execute another command then you |
