[Gambas-user] Send data to the process

Ivan Kern ivan-kern at freenet.de
Sat Apr 24 19:28:02 CEST 2021


Hello.
I would like some help.
I have two gambas apps, for example,
app1.gambas and app2.gambas. I start app2 from app1 as a process.

myApp2Process = SHELL app2.gambas as "myApp2Process".

app2 runs in the background.
After that I can receive the feedback with:

Public Sub myApp2Process_Read()
.....
End

But what I need is also send the commands to app2 and get appropriate 
feedback. For example.
app2 "multiply 2x2" and get 4 as feedback. Can anyone give me a hint on 
how to do this in app2. A small example would be nice.

Regards

Ivan



More information about the User mailing list