Skip to content

Implement `&|` stdout and stderr piping

Created by: huntergoldstein

Changes introduced by this pull request:

  • &| is now part of the grammar as the stdout and stderr piping operator
  • Redirecting stdout and stderr with &| is now supported on *nix and Redox

Drawbacks:

  • The big crossplat module is a little messy. Perhaps moving all of the platform specific code to a separate file altogether would be better. It seems like Rust's pattern for this is something like:
#[cfg(windows), path = 'for_windows.rs']
mod some_functionality;

#[cfg(unix), path = 'for_unix.rs']
mod some_functionality;

...

Fixes: Closes #331 (closed)

State: Ready to go, pending review.

Merge request reports