I'm working on OpenLibX 7.0 and I'm wondering if it's possible to reroute a Shell's StdOut and StdErr events to a public variable in Class_Globals. My "Computer" module is attached.
So basically, I'm wanting to have the "ReadAll" variable in "Com" actually contain StdOut and StdErr so I can use it without having to write the output to a text file.
B4X:
Dim Com as Computer
Com.Initialize
Com.Execute("java -version", True, False)
Log (Com.ReadAll)
So basically, I'm wanting to have the "ReadAll" variable in "Com" actually contain StdOut and StdErr so I can use it without having to write the output to a text file.
Attachments
Last edited: