rust-subprocess icon indicating copy to clipboard operation
rust-subprocess copied to clipboard

[WIP] Implement pipeline constructor from exec vector

Open yurinnick opened this issue 4 years ago • 3 comments

yurinnick avatar Apr 08 '20 03:04 yurinnick

This looks very useful, thanks!

Could we change from_vec to from_iter and have it accept any type that implements IntoIterator<Item = Exec>? That way it would still accept a Vec<Exec>, but would also accept any other iterable that produces Execs.

hniksic avatar Apr 08 '20 05:04 hniksic

Hello I would need this feature as well. Would it be ok if i make another pullrequest with the changes you recommended?

AlexanderThaller avatar Aug 27 '21 13:08 AlexanderThaller

@AlexanderThaller I have nothing against it, go ahead. The PR was marked WIP, so I didn't pay it full attention, but the change is quite straightforward.

hniksic avatar Aug 27 '21 13:08 hniksic