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

brian at westwoodsvcs.com brian at westwoodsvcs.com
Tue Apr 14 02:47:24 CEST 2020


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 ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200414/bf0c472d/attachment.html>


More information about the User mailing list