What's the difference between starting a process from the dock vs. the command line on OS X

Posted by Josh Knauer on Stack Overflow See other posts from Stack Overflow or by Josh Knauer
Published on 2010-03-31T14:20:57Z Indexed on 2010/03/31 14:23 UTC
Read the original article Hit count: 139

Filed under:
|
|
|
|

I'm debugging an issue on OS X that only occurs when the application is started from the dock. It does not happen when the app is started from the command line. What is the difference between the two scenarios? The code I'm working with is a c++ based bundled plug-in being loaded in a third party app. I've attached to the process with GDB in both scenarios and the only difference I can see is that a couple of extra dylibs are loaded in the process when running from the command line and that the base address of my library is slightly different in the two scenarios. I've tried changing my linkage to i-prebind and/or -bind_at_load to no avail.

© Stack Overflow or respective owner

Related posts about osx

Related posts about dylib