• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
command line tool paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: command line tool paths
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: how to see a framework's header files?
  • Next by Date: Re: how worried should I be about these console messages?
  • Previous by thread: Re: how to see a framework's header files?
  • Next by thread: Re: command line tool paths
  • Index(es):
    • Date
    • Thread