Re: Ignore responses from do shell script
Re: Ignore responses from do shell script
- Subject: Re: Ignore responses from do shell script
- From: Axel Luttgens <email@hidden>
- Date: Sat, 09 Jul 2016 15:34:23 +0200
> Le 9 juil. 2016 à 14:51, Christopher Stone a écrit :
>
> […]
> Hey Phil,
>
> Well, that method fails here.
>
> The following script runs for a very long time as `ls` finishes, and only then does the display notification counter start up.
>
> ----------------------------------------
> set shCMD to "
> cd ~/;
> ls -R;
> "
>
> do shell script shCMD & " &> /dev/null &"
>
> […]
Hello Chris,
To fully detach the shell process, you need to make appear your sequence of commands as a single shell command; for example:
set shCMD to "{ cd ~/; ls -R; }"
See the man page for bash(1), under "Compound Commands".
HTH,
Axel
_______________________________________________
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