[Gambas-user] Is it possible to do both read and write to the same process thru exec

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Apr 14 03:23:52 CEST 2020


Works here. See attachment. Do you do something differently?

Jussi

On Tue, Apr 14, 2020 at 4:14 AM <brian at westwoodsvcs.com> wrote:

> Ok, it is the same if I use 'cat'
>
> Input output seem to work unreliably and read write simply do not work
> together.
> I wonder if there is a work around
>
> For me anyway
> --
> Thanks
> Brian
> Monday, 13 April 2020, 03:30PM -07:00 from Jussi Lahtinen
> jussi.lahtinen at gmail.com:
>
> No, I lied... close is for stream. I think there is something odd in the
> gtee.
>
>
> Jussi
>
> On Tue, Apr 14, 2020 at 1:23 AM Jussi Lahtinen <jussi.lahtinen at gmail.com>
> wrote:
>
>
> I tried to do a mmproc.close() but I just get a kill signal rr_kill()
>
>
> This is expected as you close the process.
>
>
> But no read event is ever recieved in my process from mmproc
>
>
> What the gtee is trying to write? Your code is writing to the gtee
> process, but nothing to the other direction.
> Can you show more code?
>
>
> Jussi
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200414/dba452c1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReadWrite-0.0.1.tar.gz
Type: application/gzip
Size: 11731 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200414/dba452c1/attachment-0001.gz>


More information about the User mailing list