Re: Spawning separate processes with "do shell script"
Re: Spawning separate processes with "do shell script"
- Subject: Re: Spawning separate processes with "do shell script"
- From: Adrian <email@hidden>
- Date: Sun, 24 Mar 2002 13:10:02 -0500
I have tried this, but it doesn't work. I believe that AppleScript is
not blocking on output, but rather waiting for the sh process to exit.
Is there perhaps a more general way to fork off the command? Any other
suggestions would be welcome.
On Sunday, March 24, 2002, at 10:11 AM, garbanzito wrote:
at 2002 03 24, 01:13 -0500, they whom i call Adrian wrote:
Hello.
Is it possible to start a process from a "do shell script" command
without having to wait for it to finish?
AppleScript is blocking on output (both stdout and stderr)
from the process. if you don't care what the process
outputs, use this:
do shell script "whatever >/dev/null 2>&1 &"
otherwise direct the output to files.
-- steve harley email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.