Function conch_runtime::eval::redirect_write
[−]
[src]
pub fn redirect_write<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 writing, failing if the
noclobber option is set.
If fd is not specified, then STDOUT_FILENO will be used.
Note: checks for
noclobberare not yet implemented.