lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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
>