[Gambas-user] Application_Read
Demosthenes Koptsis
demosthenesk at ...626...
Thu Jul 14 16:54:26 CEST 2011
ok i change some things
the implementation is this
---------------------
Public Sub _new()
Print "My pid is: " & Application.Handle
End
Static Public Sub Application_Read()
Print "ok"
End
---------------------
1) Problem #1, if i do
echo 'test' > /proc/32264/fd/0
the program repeat the call of Application_Read() again and again.
Am i doing something wrong?
2) Problem #2, How can i get the stdin data to a TextArea since dynamic
symbols are not allowed to Application_Read ?
Thanks!
On Mon, 2011-07-11 at 13:42 +0300, Demosthenes Koptsis wrote:
> i have an application who reads the data from stdin with
> Application_Read
>
> the implementation is
>
> ----------
> Public Sub Application_Read()
>
> Line Input txtArea.Text
>
> End
> ---------
>
> i try to send data to the running process with
> echo xxx > /proc/7417/fd/0
>
> where 7417 is the pid.
>
> But i cant get the data to textArea.
>
> How can i do that?
>
> Thanks in advanced :)
>
>
--
Regards,
Demosthenes Koptsis.
More information about the User
mailing list