friedo
05-23-2008, 10:08 PM
Any XCode gurus out there?
I've written a plain old command line tool using the XCode "Standard Tool" project thingy. (Bare with me; I'm an Emacs and make person.)
This tool does some simple Unixey stuff and then launches a Perl program which provides its own GUI through the excellent wX (http://wxperl.sourceforge.net/) API. This works great, except when I double-click my executable, it opens a terminal window for stdin/out, which I don't want since the app already has a GUI.
Do I have to use one of those far scarier project templates which come with six billion files (where the hell do I type "Hello World?") Or is there an easy way to get the Standard Tool template to not open a terminal window?
BTW, one thing I tried was selecting the executable in XCode and doing "Get Info." There are options under General and Debugging for where to send stdin/out; the default was "Psuedo Terminal." I changed it to "System Console" and rebuilt but the behavior was the same.
BTW2, I know about CamelBones (http://camelbones.sourceforge.net/) but I can't use it for this particular app because it's already been written for one thing, and the GUI needs to be portable to other platforms.
Any other ideas welcome. TIA.
I've written a plain old command line tool using the XCode "Standard Tool" project thingy. (Bare with me; I'm an Emacs and make person.)
This tool does some simple Unixey stuff and then launches a Perl program which provides its own GUI through the excellent wX (http://wxperl.sourceforge.net/) API. This works great, except when I double-click my executable, it opens a terminal window for stdin/out, which I don't want since the app already has a GUI.
Do I have to use one of those far scarier project templates which come with six billion files (where the hell do I type "Hello World?") Or is there an easy way to get the Standard Tool template to not open a terminal window?
BTW, one thing I tried was selecting the executable in XCode and doing "Get Info." There are options under General and Debugging for where to send stdin/out; the default was "Psuedo Terminal." I changed it to "System Console" and rebuilt but the behavior was the same.
BTW2, I know about CamelBones (http://camelbones.sourceforge.net/) but I can't use it for this particular app because it's already been written for one thing, and the GUI needs to be portable to other platforms.
Any other ideas welcome. TIA.