#command #clone #serde

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

#1470 in Encoding

Download history 3/week @ 2024-11-13 5/week @ 2024-11-20 4/week @ 2024-12-04 16/week @ 2024-12-11 2/week @ 2024-12-18 10/week @ 2025-02-05 42/week @ 2025-02-12 20/week @ 2025-02-26

72 downloads per month

MIT/Apache

14KB
201 lines

clonable-command

CI Status Crates.io Docs.rs Documentation for main

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


lib.rs:

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).

Dependencies

~155KB