Function conch_runtime::eval::redirect_heredoc [−][src]
pub fn redirect_heredoc<W, E: ?Sized>(
fd: Option<Fd>,
heredoc: W,
env: &E
) -> Redirect<W::EvalFuture> where
W: WordEval<E>,
E: IsInteractiveEnvironment,
Evaluate a redirect which write the body of a here-document into fd
.
If fd
is not specified, then STDIN_FILENO
will be used.