otto icon indicating copy to clipboard operation
otto copied to clipboard

Refactor common executable code into an otto-exec crate

Open rtyler opened this issue 4 years ago • 3 comments

The sh step, local-orchestrator, and agent all have redundant code for executing and then streaming data from a subprocess.

This should get refactored into a common crate

rtyler avatar Nov 28 '20 21:11 rtyler

This code is the os_pipe using code that executes a subprocess and streams its stdout and stderr

rtyler avatar Nov 29 '20 17:11 rtyler

@rtyler Hey is this something that a person trying to learn rust can pick up or is there something easier :)

sladyn98 avatar Jan 22 '21 06:01 sladyn98

@sladyn98 sorry for the delay, I've been incredibly busy with work lately and haven't had much time to work on Otto much less anything else :frowning:

I think this should be a relatively straight forward learning exercise, but I probably wouldn't start with it as a first taste of Rust. Depending on your timezone overlap, if you ping me over the weekend in the #otto channel on Freenode I can try to help show you around. :smile:

rtyler avatar Feb 12 '21 05:02 rtyler