Closed SimonMaracine closed 6 months ago
Did you enable subprocess_option_enable_async
?
Yes, of course. Sorry, I opened this issue before I saw legerch's pull request. I only checked the Issues section before opening this one.
No bother!
Trying to fix this in https://github.com/sheredom/subprocess.h/pull/80.
Hello. As you pointed out in the documentation, the
subprocess_read_stdout()
function is blocking when there is no data available to read. I need to be able to read and write to a subprocess before joining it, but my problem is that I need the read operation to be asynchronous. Is there an easy solution for changing this behavior?