I am trying to run a .exe application with a button. The app is located in the Object Folder of the B4J file. When I click the button the app doesn't start and it doesn't appear any error in the logs it just doesn't start. the code im using is below.
In the Log it appears correctly the FileRun
B4X:
Dim xfoil As Shell
Dim params As List: params.Initialize
Dim FileRun As String
params.Add(File.DirApp)
FileRun= File.Combine(File.DirApp , "xfoil.exe")
Log(FileRun)
'xfoil.Initialize("xfoil",FileRun, Null)
xfoil.Initialize("xfoil",FileRun, params)
xfoil.WorkingDirectory = File.DirApp
xfoil.Run(-1)
In the Log it appears correctly the FileRun