Function conch_runtime::eval::redirect_read [−][src]
pub fn redirect_read<W, E: ?Sized>(
fd: Option<Fd>,
path: W,
env: &E
) -> Redirect<W::EvalFuture> where
W: WordEval<E>,
E: IsInteractiveEnvironment,
Evaluate a redirect which will open a file for reading.
If fd
is not specified, then STDIN_FILENO
will be used.