Code: Select all
ProgPath.s = "/Users/Klaus/Programmieren/purebasic_Code/_PureBasic-Code/Toolprogrammierung/"
; prog.l = RunProgram(ProgPath+"ToolEventTest.app", "", "", #PB_Program_Open)
prog.l = RunProgram("open", "ToolEventTest.app", "", #PB_Program_Open)
Debug prog
When I move the application into another folder, it never will run.
The same if I use the var "ProgPath.s".
Running this snippet with the commented line it never will run.
Searching in the forums I found a lot of Windows examples with a calling like >>RunProgram("App.exe")<< (see line 2 of the snippet), and this seems to run (on Windows).
I think it's a bug in Mac version.


