>>>>> "Andreas" == Andreas Vox <[EMAIL PROTECTED]> writes:
Andreas> For a real test this code has to be executed from LyX proper, Andreas> so we can see what happens when MacOS uses its LaunchServices Andreas> to start LyX. I just checked what MacOS provides as args[0]: Andreas> /Applications/LyX.app/Contents/MacOS/LyX ! I hope your code Andreas> doesn't rely on args[0] being an existing file ... LyX and lyx are basically the same since HFS is not case sensitive, I think. Andreas> So obviously the LaunchServices provide the bin directory of Andreas> the app plus the "official" application name for args[0]. I think it provides the name that is given in Info.plist (I forgot the property name). JMarc