Problems running UNIX Apps in Cocoa GUI
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.