| Crates.io | argmax |
| lib.rs | argmax |
| version | 0.4.0 |
| created_at | 2022-01-23 12:06:40.202604+00 |
| updated_at | 2025-06-16 20:38:23.597276+00 |
| description | Rust library to deal with 'argument too long' errors |
| homepage | https://github.com/sharkdp/argmax |
| repository | https://github.com/sharkdp/argmax |
| max_upload_size | |
| id | 519643 |
| size | 36,278 |
argmax is a library that allows Rust applications to avoid Argument list too long errors (E2BIG) by providing a std::process::Command wrapper with a
fn try_arg<S: AsRef<OsStr>>(&mut self, arg: S) -> io::Result<&mut Self>
function that returns a proper Error if arg would overflow the maximum size.
This library draws inspiration from the following sources. The implementation is based on
the corresponding functionality in bfs [1].
xargs --show-limitsLicensed under either of
at your option.