Skip to content

Handling a command inside exec_request #313

Answered by Eugeny
crabrs asked this question in Q&A
Discussion options

You must be logged in to vote

You can translate it pretty much very closely. Start your process with e.g. tokio::process, convert your channel into an R/W pair with make_writer and make_reader and pass that as the processes' stdio

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@crabrs
Comment options

Answer selected by crabrs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants