Sorry if this is old hat, but I'm puzzled and searching the forums didn't resolve my puzzlement.
I'm trying to pass command line options from the Mac OS to a Windows .exe
In particular, I've got an executable called WinBUGS14.exe
It takes an argument like this in windows:
WinBUGS14.exe /PAR script.txt
I would like to pass those two arguments (/PAR and a file name) to the .exe from the Mac command line. Actually, I want to pass the arguments from a Matlab script running on my Mac, and I'm trying to use the 'open' command, but it won't pass the arguments.
I've tried using a shortcut BackBugs14.lnk that invokes WinBUGS14 with the appropriate arguments. It works fine if I launch it from Windows. When I 'open BackBugs14.lnk' though, it just shifts the focus the Parallels Desktop.
I'm using Parallels 5 for Mac in Coherence mode if that makes a difference.
thanks
I'm trying to pass command line options from the Mac OS to a Windows .exe
In particular, I've got an executable called WinBUGS14.exe
It takes an argument like this in windows:
WinBUGS14.exe /PAR script.txt
I would like to pass those two arguments (/PAR and a file name) to the .exe from the Mac command line. Actually, I want to pass the arguments from a Matlab script running on my Mac, and I'm trying to use the 'open' command, but it won't pass the arguments.
I've tried using a shortcut BackBugs14.lnk that invokes WinBUGS14 with the appropriate arguments. It works fine if I launch it from Windows. When I 'open BackBugs14.lnk' though, it just shifts the focus the Parallels Desktop.
I'm using Parallels 5 for Mac in Coherence mode if that makes a difference.
thanks