[PB 4.31 PPC] RunProgram creates no Bundle

Mac OSX specific forum
User avatar
michel51
Enthusiast
Enthusiast
Posts: 290
Joined: Mon Nov 21, 2005 10:21 pm
Location: Germany

[PB 4.31 PPC] RunProgram creates no Bundle

Post by michel51 »

Hello All,

the following code works perfectly with example 2 and creates a application bundle named "Compile2App.app". The corresponding folder structure is like the bundle folder (= Mac like :D )

Code: Select all

; Example 1
; FilePath.s = "/Users/Klaus/Programmieren/purebasic_Code/__Fertige_Projekte/MacSkeleton/Contents/Main.pb"
; NameFile.s = "MacSkeleton"
; AppPath.s = "/Users/Klaus/Programmieren/purebasic_Code/__Fertige_Projekte/"

; Example 2
FilePath.s = "/Users/Klaus/Programmieren/purebasic_Code/__Aktuelle_Projekte/Compile2App/Contents/Compile2App.pb"
NameFile.s = "Compile2App"
AppPath.s = "/Users/Klaus/Programmieren/purebasic_Code/__Aktuelle_Projekte/"


RunProgram(#PB_Compiler_Home + "compilers/pbcompiler", FilePath + " -e " + NameFile + ".app", AppPath, #PB_Program_Wait|#PB_Program_Hide)
But if I try the example 1, nothing happens. The conditions are the same as example 2.
And very interesting: other sources with same conditions like example 2 (Mac like folder structure ) are not compiled likewise.
I don't understand what happens.
Or is this a bug? Then this post belongs into the bug reports.
michel51

Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta