Have you looked into using AppleScript to control the application? I think you should be able to end your script with a quit command.
There are a number of Mac:: modules on CPAN that may help with this, but I have not really played with them.
In reply to Re: Running an external GUI program
by herveus
in thread Running an external GUI program
by mdrisser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |