Crates.io | stdioredirect |
lib.rs | stdioredirect |
version | 0.4.0 |
source | src |
created_at | 2024-08-19 02:43:31.508778 |
updated_at | 2024-12-04 14:16:36.108205 |
description | stdioredirect provides a tool to wrap another command and redirect its outut. |
homepage | |
repository | https://github.com/rescrv/blue |
max_upload_size | |
id | 1343332 |
size | 10,744 |
stdioredirect is a simple tool to perform redirection of stdio. It is intended for use as a wrapper program like numactl or env.
USAGE: stdioredirect [--close-$stream|--$stream /file.txt] -- command [args]
Options:
-h, -help Print this help menu.
-close-stdin "Close stdin. Mutually exclusive with --stdin."
-close-stdout "Close stdout. Mutually exclusive with --stdout."
-close-stderr "Close stderr. Mutually exclusive with --stderr."
-stdin "Redirect stdin to this file in O_RDONLY mode."
-stdout "Redirect stdout to this file in O_WRONLY mode,
truncating and creating as necessary."
-stderr "Redirect stderr to this file in O_WRONLY mode,
truncating and creating as necessary."
Maintenance track. The binary is considered stable and will be put into maintenance mode if unchanged for one year.
This crate provides the stdioredirect tool.
The latest documentation is always available at docs.rs.