DaleA
Member
I'm trying to launch an external app from my B4j Windows app using the following code:
The external app does not need any command line parameters. I get no indication of an error but the app doesn't launch. It doesn't make any difference if I include the fully qualified path in the Initialize statement.
Environment:
Windows 10
B4J 9.10
jShell 1.52
Where did I get it wrong?
B4X:
Private Sub pg2Btn_Click
Log("Pg 2 button clicked")
Dim shl As Shell
shl.Initialize("shl", "BookTracker.exe", Null)
shl.WorkingDirectory ="D:\TMP\BookTracker"
shl.Run(-1)
Log("External App should be running")
End Sub
The external app does not need any command line parameters. I get no indication of an error but the app doesn't launch. It doesn't make any difference if I include the fully qualified path in the Initialize statement.
Environment:
Windows 10
B4J 9.10
jShell 1.52
Where did I get it wrong?