Launching Mac versions of Croquet

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Launching Mac versions of Croquet

Liz Wendland
Hi all,

How can I launch a Croquet image on a MacIntosh and pass in parameters?

Here is how I do it on Windows (in a .bat file)
@start bin\Croquet.exe work.image launchARecording.st %1

For Linux I can do a one-off on the existing .sh file and add the same
type of thing:

exec "/$EXE/squeak" -plugins "$EXE" \
        "$DIR/work.image" \
        "$DIR/launchARecording.st" \
        "$DIR/$1"

How is this done on a Mac?  We have tried doing it the Linux way, but it
doesn't seem to work correctly.  Is it actually possible?

Thanks for any help!
Liz Wendland
University of Minnesota

Reply | Threaded
Open this post in threaded view
|

Re: Launching Mac versions of Croquet

Andreas.Raab
I'm not actually sure how to do that but generally a good workaround is
to simply create a file in the installation directory and use the
contents of that file instead of command line args. This works well and
even better it works everywhere without weird hacks ;-)

Cheers,
   - Andreas

Liz Wendland wrote:

> Hi all,
>
> How can I launch a Croquet image on a MacIntosh and pass in parameters?
> Here is how I do it on Windows (in a .bat file)
> @start bin\Croquet.exe work.image launchARecording.st %1
>
> For Linux I can do a one-off on the existing .sh file and add the same
> type of thing:
>
> exec "/$EXE/squeak" -plugins "$EXE" \
>        "$DIR/work.image" \
>        "$DIR/launchARecording.st" \
>        "$DIR/$1"
>
> How is this done on a Mac?  We have tried doing it the Linux way, but it
> doesn't seem to work correctly.  Is it actually possible?
>
> Thanks for any help!
> Liz Wendland
> University of Minnesota
>