Re: AppleScript to launch application with command line parameters
Re: AppleScript to launch application with command line parameters
- Subject: Re: AppleScript to launch application with command line parameters
- From: Jon Pugh via AppleScript-Users <email@hidden>
- Date: Tue, 21 Apr 2020 23:36:17 -0700
On Apr 21, 2020, at 10:56 PM, Bill Vlahos via AppleScript-Users
<email@hidden> wrote:
>
> do shell script "/Applications/zac.app/Contents/MacOS/zac new”
Run this way, the script application is the parent of your app, so if it dies,
zac dies too. You want to use the open tool to avoid this issue.
do shell script "open -a /Applications/zac.app --args new”
That should do it.
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden