B4J Question Can a jShell RunWithOutputEvents process also pass values back to the called process

simonwilliamson

Member
Licensed User
I need my B4j app to start a Windows exe application and to then pass data back and forth between them (with the exe transmitting data every second or so). I intended to use jShell to initially- call the exe (a .Net Windows Form) using the Args value to pass a port number that would then be used to set up a Server/Client process using something like the NetworkExample.b4j. However I was interested to find the exe can continually pass data back to the jShell call via a console call and shl_StdOut. My question is can something like the shl.WriteToInputStream be used to pass data back to the exe program or would my original plan of using the Server/Client method be better?
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
yes i think you can!
and if my memory is not failing, thats what Erel used for the SDK manager, the source code is here:
 
Upvote 0

Similar Threads

Top