[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Keep a shell open?
- From: Joshua Jensen <josh.jjensen@...>
- Date: Fri, 26 Jan 2018 08:54:50 -0700
Russell Haley wrote on 1/26/2018 12:16 AM:
Is it possible to open a shell in a coroutine and just interact with
it when I need it?
So in a coroutine, I would just open it and then read and write then yield?
You imply you want asynchronous reads and writes here...?
Anyway, my go to, now called osprocess , for dealing with process
input and output is based on the old lua-ex module. I have used it with
success for years.