Run another app from PureBasic app?

Mac OSX specific forum
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

Run another app from PureBasic app?

Post by garretthylltun »

Ummm, yeah, PB totally freaks out on compile with this:

Code: Select all

Parameter$ = ProgramParameter()
RunProgram("/Applications/Unix/iTerm.app",Parameter$,"/Applications/Unix")
End

; IDE Options = PureBasic 3.94d (MacOS X - PowerPC) - (c) 2005 Fantaisie Software
; CursorPosition = 3
; Executable = iTermHere
Of course I tried variations of the above with no success. So either this
isn't working yet for OS X, I'm doing something wrong, or it's a bug.

Anybody know?

Thanks,
-Garrett
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
· Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
· http://www.freewarehome.com/ <-- Freeware listings since 1996