Hacker News new | ask | show | jobs
by rustshellscript 2122 days ago
It can be supported with internal APIs, even without macros: Cmds::from_cmd(Cmd(...).current_dir(..)) .pipe(Cmd(...).current_dir(...)) .run_cmd(...)

As you can see, it is very verbose and that's why I choose to hide the lower APIs at this moment.

1 comments

I like your approach more than duct.rs :)