Re: [gtk+osx] Working .app bundles
Status: Beta
Brought to you by:
jralls
From: Bob I. <bo...@re...> - 2004-01-06 13:21:47
|
On Jan 5, 2004, at 6:56 PM, Dan Christiansen wrote: > On 5/1-2004, at 23:50, John-Michael Mulesa wrote: > >> I made the file, but it doesn't want to run (did do chmod +x): >> >> /Users/jm/Desktop/gimp-1.2.app/Contents/MacOS/gimp-1.2: Command not >> found. >> >> When I try to run it. > > Here's a simpler, more generic shell script: > > It will execute the file named <file>-bin where <file> is the name of > the script file. I did a quick test of it, and it should work fine > with arguments containing space and so on. The question is, does it work? WindowServer is *VERY* picky about how processes are executed. I have always had to use something like execve to preserve the original pid and argv[0]. -bob |