Hi,
I launch an external process (php server) using jShell and after a while I want to kill this process (demo app):
When I try to kill the process I get a NullPointerException:
at anywheresoftware.b4j.objects.Shell.KillProcess(Shell.java:146)
I launch an external process (php server) using jShell and after a while I want to kill this process (demo app):
B4X:
Sub AppStart (Args() As String)
shl.Initialize("shl", "c:/php/php.exe", Array As String ("-S", "0.0.0.0:8000"))
tmr.Initialize("tmr", 10000)
tmr.Enabled = True
StartMessageLoop
End Sub
Sub tmr_Tick
shl.KillProcess
End Sub
When I try to kill the process I get a NullPointerException:
at anywheresoftware.b4j.objects.Shell.KillProcess(Shell.java:146)