You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should definitely be supported by conch. I don't think an :inherit value for everything is the way to go, since you can't only inherit stdin, for example. Probably just need to add an :inherit-io option.
I think you're always handling every I/O channel now, right? I think it can be mapped out like so:
If any channel has :inherit, call .inheritIO. (Or always call .inheritIO?)
Override the channels afterward to be the same as they would have been, except for :inherit ones.
Whether this is a good idea is another question.
I think it might be, because it seems a lot easier to say "Or you can put :out :inherit" than explaining how :inherit-io changes how the other options work.
Hi!
I need to run a command from within clojure that does two things (one essential, one nice) that require the command to have inherited the process I/O.
Here's the code that I'd love to replace with conch (but can't right now):
I'm not sure what the best way to do this would be. Perhaps allowing
:inherit
as a value for:in
,:out
, and:err
?The text was updated successfully, but these errors were encountered: