Function conch_runtime::eval::redirect_readwrite[][src]

pub fn redirect_readwrite<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 and writing.

If fd is not specified, then STDIN_FILENO will be used.