sharkdp / argmax

Rust library to deal with "argument too long" errors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

argmax

Version info CICD

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.

Resources

This library draws inspiration from the following sources. The implementation is based on the corresponding functionality in bfs [1].

License

Licensed under either of

at your option.

About

Rust library to deal with "argument too long" errors

License:Apache License 2.0


Languages

Language:Rust 100.0%