summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
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