feat: add &mut Command to post_spawn()#24
Conversation
|
It seems like all of the remaining changes were quite simple after all of your hard work! I'll test them with my Obviously I'm also happy to split this into two PRs if you think that's more reasonable :) |
|
Looks like there is still a bug with |
This addition makes it possible to mutate the `Command` in `pre_spawn()`, spawn a `Child` from that mutated command, then roll-back the changes to command in `post_spawn()`.
7f89dfd to
a19519e
Compare
|
I prefer stacking PRs so I've done that to make it easier to review |
|
|
|
Okay with tests and documentation I'll gladly merge this. |
|
Hitting three birds with one stone here! I've added doc-tests that cover this new functionality as used in my |
|
Hopefully ready for merging and unblocks everything else! Sorry for the delay here and let me know if there is anything more you'd like me to do! |
|
awesome! |
&mut Command to post_spawn()&mut Command to post_spawn()
Builds on #23 (so closes #22) and fixes the stack overflow in that PR on Windows. Then adds
&mut Commandtopost_spawn().If @passcod is happy with the code, then it'll just need some documentation and tests, I reckon!