From: Gregor G. <gre...@bf...> - 2006-12-13 11:56:23
|
Hi, Kenneth Benoit wrote: > OK - the plot thickens... > > open Applications/CrossOver/WinBUGS14.app /par script.txt > > does *not* work because Apple did not program its magical "open" command > (which is designed to be the command-line equivalent of double-clicking > an icon) to allow command-line arguments following the name of the program. > > There is an open-x11 equivalent for opening X11 apps, and the lack of a > command line seems to have made this almost unusable for many people. I > found therefore that someone had written a version which allowed > arguments: > > http://xanana.ucsc.edu/Library/init/zsh/man/html/open-x11.html > > but I could not find any equivalent for the plain "open". > > A workaround would be to hard-wire the excecution of script.txt into > WinBUGS14.app itself, either through Mac OS/X or something in WinBUGS... According to WinBUGS14 documentation BackBUGS does this, but I think it assumes that script is in the same place as BackBUGS or WinBUGS binary is located. This can be a bit strict as one might not have write acces in that map. I did not find any equivalent in OpenBUGS. Anyone with skills to write Mac OS X specific script? Any comments on my previous questions about figuring out why DarWINE and CrossOver start automagically? Gregor |