I'd like to run an external task from my command that may ask the user for input.
What's the best way of passing through requests for input (I assume from the external task's stdout) to the user, and also passing the user's input to the external tasks stdin?
A very simple example:
I'd like to run sudo echo hello as an external task and have the user be notified when sudo asks for their password. How could I accomplish that with the Task API?