Trait ShortProcess
s_crap::spawn
pub trait ShortProcess { type Input; type Output; fn output_from(self, input: Self::Input) -> Result<Self::Output>; }
type Input
type Output
fn output_from(self, input: Self::Input) -> Result<Self::Output>
impl ShortProcess for Child
type Input = String
type Output = String
impl<'_> ShortProcess for Process<'_>
type Input = (String, Child)
type Output = Vec<u8>