Re: running shell in background....
Re: running shell in background....
- Subject: Re: running shell in background....
- From: "Mark J. Reed" <email@hidden>
- Date: Sun, 2 Sep 2007 08:31:17 -0400
On 9/2/07, Kathryn Tate <email@hidden> wrote:
>
> On Sep 2, 2007, at 3:18 AM, Harald Schneider wrote:
> Is there a way to start a shell script as a background process ?
>
> In shell language:
> at the prompt:
>
> myshellscript &
>
> The key is appending the & sign after the script name and a space.
The space is not strictly necessary, actually. But adding the
ampersand is not enough if you're running it from AppleScript via "do
shell script", because the background job will still be attached to
the "terminal" (not a visible one, in this case) that AppleScript
started it in. Hence the redirections in my response.
--
Mark J. Reed <email@hidden>
_______________________________________________
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