HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulevortex-session-0.3.0GHC2024

Vortex.Session.Handles

A Session over a pair of handles: the shape of an SSH exec channel, a forced command or a pipe to a child. The request is one Exec command, so no text frame ever arrives; replies go out one per line, and once a call is duplexing the input handle carries its bytes.

  • 2 values
valueexecSession :: Identity -> String -> Handle -> Handle -> Session
#

One command from who, answered on output, its bytes read from input. Both handles should be in binary mode: a reply is the show of a Reply, which never holds a raw newline, and the bytes pass through untouched.