Easy subprocess execution

Hi,

I am using for subprocess execution rust-subprocess-communicate however this is far from easy and straightforward mainly when you use lots of subprocess execution. In Python, plumbum is spectacular. Using it is incredibly easy and straightforward and the way it allows you to use pipes, redirection, etc is pretty impressive.

i wonder if there's already something similar with rust and if not, if someone sees any issues with creating something similar in a statically typed language like rust?

Kind regards,

Paulo Matos

What's wrong with std::process::Command?

1 Like

Looks like there's a couple libraries trying to make shell commands more ergonomic:
pipers
shells

std::process::Command is pretty nice to use out of the box

I also started working on something similar to plumbum last night and got simple piping working plumbum-rs. So a rust plumbum clone is certainly possible.

1 Like