David Reed wrote: > I've got a command line Python app that I tried packaging up with > py2app. It worked ok - t could cd into the subdir of the .app > containing the executable and run it from the command line, but I'm > not certain what its current working directory was since when I tried > to specify a file on the command line, it didn't find it. I had to > specify the full path to the file to make it work. Is there a simple > workaround for command line versions - I didn't see anything in the > documentation.
[/some/path] $ /Applications/MyApp.app/Contents/MacOS/MyApp will usually have /some/path as the cwd. However, .app bundles are probably not what you want for CLI apps. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig