OlegKrikun / kotlin-shell

Apache License 2.0
6 stars 1 forks source link

Coroutine await for process result. #2

Closed altavir closed 4 years ago

altavir commented 4 years ago

Add process deferred() and process await functions which could convert process to Deferred and suspended join of the process. Deferred would require coroutines dependency, but simple await could be done using tools from stdlib.

OlegKrikun commented 4 years ago

Sorry, but no, because the process is hidden behind the shell and an user can't access it.