#clone #serde #command

clonable-command

An std::process::Command that implements Clone and serde::*

2 unstable releases

0.2.0 Mar 23, 2024
0.1.0 Nov 10, 2023

#1591 in Encoding

MIT/Apache

14KB
201 lines

Anoyingly, std::process::Command does not implement Clone.

This is due to std::process::Command containing fields (like file handles for stdin/stdout) that cannot easily be cloned (see rust-lang/rust#22119).


clonable-command

CI Status Crates.io Docs.rs Documentation for main

Clonable, inspectable and serilizable version of std::process::Command.

Dependencies

~150KB