PatrikCavina Active Member Licensed User Longtime User Mar 10, 2017 #1 Hi, i want to execute launch4j by shell to create .exe file, using Jshell library. I tried different ways but don't work. Someone can tell me where i'm wrong? Code: Dim args As List args.Initialize args.Add("buildX.xml") Dim shell As Shell shell.Initialize("createExe","C:\Users\kdrills01\Desktop\c\Objects\launch4jc.exe",args) shell.WorkingDirectory = "C:\Users\kdrills01\Desktop\c\Objects\" shell.Run(-1)
Hi, i want to execute launch4j by shell to create .exe file, using Jshell library. I tried different ways but don't work. Someone can tell me where i'm wrong? Code: Dim args As List args.Initialize args.Add("buildX.xml") Dim shell As Shell shell.Initialize("createExe","C:\Users\kdrills01\Desktop\c\Objects\launch4jc.exe",args) shell.WorkingDirectory = "C:\Users\kdrills01\Desktop\c\Objects\" shell.Run(-1)
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2017 #2 Which error do you get? What are the values of StdErr and StdOut? Upvote 0
PatrikCavina Active Member Licensed User Longtime User Mar 13, 2017 #3 I understood my mistake, using stdErr I noticed that when I performed the program, the bin folder was rewritten without programs used by Launch4J. Thank you Erel Upvote 0
I understood my mistake, using stdErr I noticed that when I performed the program, the bin folder was rewritten without programs used by Launch4J. Thank you Erel