Where did the console go on the Mac OS X version of the program?

4 views
Skip to first unread message

joshu...@gmail.com

unread,
Feb 16, 2008, 4:43:55 AM2/16/08
to Area Diffraction Machine
When you run the Mac OS X version of the program, you will probably
notice that the program lacks the console that you get when you run
the windows version of the program. Sometimes interesting things are
printed to the console, especially when fitting calibration data. So
this is kind of irritating. Unfortunately, I can not figure out how to
build the Mac version of the program to include the console window. So
for now, there is a kind of annoying work around. If you want the
console functionality, you are going to have to launch the program
from the Terminal instead of launching it by clicking on the icon. To
do this, open up the Terminal, then navigate to the folder with the
AreaDiffractionMachine application in it, and issue the following
command:

$ ./AreaDiffractionMachine.app/Contents/MacOS/MyApplication

This will launch the application from the Terminal. Since the terminal
is still running after you launch the program from it, the console
output from the program will be displayed in that terminal. Hopefully
this will work well enough for now. If anybody knows how to make
py2app do the right thing so we don't need this work around, I am all
ears,

Josh

joshu...@gmail.com

unread,
Feb 20, 2008, 12:52:26 AM2/20/08
to Area Diffraction Machine
I screwed up the command a little. The real command that you need to
use to run the program looks (on my machine) like:

$ ./Area\ Diffraction\ Machine.app/Contents/MacOS/Area\ Diffraction\
Machine

Reply all
Reply to author
Forward
0 new messages