command line tool paths
command line tool paths
- Subject: command line tool paths
- From: John Goodman <email@hidden>
- Date: Wed, 7 Nov 2007 15:20:46 -0500
I'm using Xcode (2.4.1) to compile a command line tool, using some
existing Linux code.
The code references a configuration file containing file paths to
additional configuration data. The paths in the configuration file
are all specified relative to the executable.
When I run the code from Xcode, all these relative paths work to find
the appropriate files. When I run the code from the Terminal, the
files are not found unless I use absolute paths.
What is Xcode doing to enable the use of relative paths? Can I do
something similar to make the relative paths effective running
outside of Xcode?
I should add (if it isn't already obvious) that my experience with
the Terminal and command line tools approaches zero.
Thanks for your suggestions.
_______________________________________________
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