Christian

Results 3 comments of Christian

Hi, @tavianator . What you think about use something like: ```rust #[cfg(unix)] fn count_osstr_chars_for_exec(s: &OsStr) -> (usize, usize) { use std::os::unix::ffi::OsStrExt; let cmd = Command::new(s); let args: Vec = cmd.get_args().collect();...

@tavianator I see. Just confirming if I understood correctly. The structure of the code shouldn't be changed, only the function `count_osstr_chars_for_exec` instead of using an OsStr, use argmax equivalent (I...

> No, i feel like the code in xargs/mod.rs should be mostly re-written to take advantage of the argmax crate instead of using its own logic (MaxArgsCommandSizeLimiter etc.) I'll start...