Passing command line arguments to a carbon app

Lothar Scholz llothar at web.de
Tue Apr 17 01:24:54 PDT 2007


Hello Shawn,

Monday, April 16, 2007, 11:10:58 AM, you wrote:

SE> If you are using Xcode to run your application you can modify the way
SE> it executes your application. Look for the "Executables" group and
SE> then double click on your application (or command-I).

No Xcode here. I'm using my own Eiffel compiler from command line.
Only IB to create NIB's.

I need a test control program (a ruby ones) on the command line that
runs executables with different input values. My next try was to
store them in a file relative to the current directory, but the
current directory of a carbon app is always '/'.

But luckily the environment variables are taken from the shell,
so i only need to write a small bash script that converts arguments
into envs and restore them in the carbon apps main.


-- 
Best regards,
 Lothar                            mailto:llothar at web.de



More information about the MacOSX-dev mailing list