The open -a command will open a mac app, but when I try to pass it parameters, it's interpreted as a file for that app to open instead of parameters to the app.
If I try to open the app without using the open command, it fails.
The app (e.g. Terminal.app) is actually a package rather than the main
executable. If you dig around inside the package you can find the main
executable and if you run that with parameters it seems to work. From
memory the exe is normally in Contents/MacOS or something like that.
John's suggestion is probably the technically correct approach but I
haven't tried it.
(Apologies for the brevity - sent from my Android)