-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable handle_run to accept io redirect paths #342
Conversation
ac438b5
to
7bf15d0
Compare
Going to give this a bit more testing. I'm running into 502 errors when running this in the containerd-shim. |
Let me know if this is ready to review again @devigned |
I think this last push should satisfy the linter. Should be good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Left some comments
06263e1
to
f084dd5
Compare
@Mossaka I've updated the PR based on your feedback. Ready for the next round of reviews. |
Signed-off-by: David Justice <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Again, thank you @devigned
Currently,
handle_run
does not enable the caller to specify I/O redirection for modules running inslight
. This PR allows the caller ofhandle_run
to specify paths for std{out, in, err} which will be used to redirect WASI stdio.clippy::almost_swapped
check failing on latest nightly clap-rs/clap#4733 and fixed related lint issuesOut of scope for the PR:
slight