Re: App crashes when launched from finder, but not when launched from debugger or command line
Re: App crashes when launched from finder, but not when launched from debugger or command line
- Subject: Re: App crashes when launched from finder, but not when launched from debugger or command line
- From: Greg Guerin <email@hidden>
- Date: Mon, 17 Nov 2008 17:55:11 -0700
Rick Mann wrote:
AFAICT, the app doesn't explicitly do anything different based on
the environment.
The working directory is different, too. A relative pathname might
work in one case but fail in the other.
It's best to interpret the word "environment" to mean all the
inherited process context, not just environment variables.
BTW, you can fiddle with environment variables on the command-line
using the 'env' command. In particular, 'env -i /path/to/executable'
might be revealing. Examples:
/usr/bin/printenv
/usr/bin/env -i /usr/bin/printenv
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden