Hi to all
I have a non UI program (ABMaterial.jar) that does not start using jshell from another UI program.
This the sub (sub already used that has always worked)
Why shell not work?
Thanks
I have a non UI program (ABMaterial.jar) that does not start using jshell from another UI program.
This the sub (sub already used that has always worked)
B4X:
Sub Ruwsocketws
Dim javaexe As String
javaexe = File.Combine(GetSystemProperty("java.home", ""), "bin/java")
shws.Initialize("shws", javaexe, Array ("-jar", "provaws.jar"))
shws.Run(20000)
End Sub
Sub shws_ProcessCompleted (Success As Boolean, ExitCode As Int, StdOut As String, StdErr As String)
'Success is false and StdErr = timeout
Thanks