• 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
Problems running UNIX Apps in Cocoa GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems running UNIX Apps in Cocoa GUI


  • Subject: Problems running UNIX Apps in Cocoa GUI
  • From: Alberto <email@hidden>
  • Date: Sun, 24 Mar 2002 22:35:55 -0300

I have a interesting problem running my command line application from the
Cocoa GUI wich I am creating.


How the application works:

1) Call ./runref, wich create some LOG files and call ./reflect
2) ./reflect uses reflect.conf to obtain configurations
3) Running Confirmation appears in command line

** all files are located in the same folder



When I go to Terminal and run the application, it's perfect!!


However, running from the Aqua GUI... LOG files and CONFIG file must to be,
not in the same folder where are RUNREF and REFLECT, but in my root folder
(with Library, Applications, System, Users).

Any body knows why?? It is not a problem with the command line application
because it works fine from command line and in any folder I put the files
together.

It appears like GUI make command line app think it's in root folder, not
where it really is.


This was not happening when my files were in:

/usr/bin/myapplication


Only when I use something like:

/Applications/...
/Library/...



Thanx all,
Alberto V. M.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Problems running UNIX Apps in Cocoa GUI
      • From: Adam Eijdenberg <email@hidden>
    • Re: Problems running UNIX Apps in Cocoa GUI
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Debug/Run differences
  • Next by Date: Re: [ANN] My experiences with Apple
  • Previous by thread: Debug/Run differences
  • Next by thread: Re: Problems running UNIX Apps in Cocoa GUI
  • Index(es):
    • Date
    • Thread