summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-08-07 13:37:55 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-08-07 13:37:55 +0300
commita112f18ba2c4dec97a0d39ac11feca7b7c43e67e (patch)
tree8e7b6276a6e80f3e8a243c8aaa5ae3596e9e9958 /doc
parentnode.scm: Update copyright dates (diff)
downloadguile-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.
Diffstat (limited to 'doc')
-rw-r--r--doc/api-channels.texi2
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