[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Keep a shell open?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 26 Jan 2018 09:22:57 +0200
The filehandle returned by io.popen can be read from
or written to, but not both.
2018-01-26 9:16 GMT+02:00 Russell Haley <russ.haley@gmail.com>:
> Weird late night question:
>
> 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?
>
> Cheers,
>
> Russ
>