use crate::{Command, Process};
impl<'a> TryFrom<&'a str> for Command {
type Error = <Process as TryFrom<&'a str>>::Error;
fn try_from(value: &'a str) -> Result<Self, Self::Error> {
Command::try_create(value)
}
}
impl TryFrom<String> for Command {
type Error = <Process as TryFrom<String>>::Error;
fn try_from(value: String) -> Result<Self, Self::Error> {
Command::try_create(value)
}
}