> 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 :)
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. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user