Re: Keep a shell open?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Keep a shell open?
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2018年1月26日 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
>