summaryrefslogtreecommitdiff
path: root/modules/ssh/popen.scm (follow)
Commit message (Expand)AuthorAgeFilesLines
* popen.scm: Add 'OPEN_PTY' mode•••* modules/ssh/popen.scm: Add 'OPEN_PTY' mode. (open-remote-pipe): Open a pseudo terminal if 'OPEN_PTY' mode is requested. * modules/ssh/channel.scm (make-channel): Use 'string-contains' instead of 'string=?'. * doc/api-popen.texi: Update. Add examples. Artyom V. Poptsov2016-02-221-2/+15
* popen.scm (open-remote-pipe): Bugfix: Don't request PTY•••When PTY is requested, OpenSSH server merges stderr stream with stdout and the Guile-SSH channel reads all the output as stdout even if the executed command is failed. This patch fixes that. Reported by: David Thompson in <https://github.com/artyom-poptsov/guile-ssh/issues/2> * modules/ssh/popen.scm (open-remote-pipe): Bugfix: Don't request PTY. * AUTHORS, NEWS, THANKS: Update. Artyom V. Poptsov2016-02-211-1/+0
* popen.scm: Don't use (ice-9 popen)•••* modules/ssh/popen.scm: Remove unused (ice-9 popen) dependency; don't export OPEN_READ, OPEN_WRITE and OPEN_BOTH (because the variables are defined in the top-level (guile) module.) Artyom V. Poptsov2015-12-241-3/+1
* popen.scm: New module•••* modules/ssh/popen.scm: New module. * modules/ssh/Makefile.am (SCM_SOURCES): Add 'popen.scm'. * modules/ssh/channel.scm: Move 'open-remote-*' procedures to (ssh popen). * modules/ssh/dist/node.scm, tests/popen.scm: Use (ssh popen). * NEWS, README: Update. Artyom V. Poptsov2015-12-061-0/+87