gambas at ...1...
Mon Jul 18 01:44:32 CEST 2011
> i have an application who reads the data from stdin with
> the implementation is
> Public Sub Application_Read()
> Line Input txtArea.Text
> 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 :)
I tested, and it worked. But beware that if you run your project from the IDE,
the standard input is not necessarily the file descriptor 0 (as the IDE
redirects it to intercept the data).
So run your project inside a true virtual terminal.
More information about the User