I'm writing a small JVM DSL for some bash commands...
# coroutines
c
I'm writing a small JVM DSL for some bash commands to automate some stuff. Would you say it is good practice to execute a shell command in
<http://Dispatchers.IO|Dispatchers.IO>
or is there something else that is recommended instead? From what I understand, it is the dispatcher created to handle blocking IO stuff
r
executing external commands should probably go into their own dedicated threads
d
Waiting for the spawned process to complete synchromously is a good use case for IO dispatcher
c
Thanks