Re: mutli instances test (was Re: Multi-threaded)
Re: mutli instances test (was Re: Multi-threaded)
- Subject: Re: mutli instances test (was Re: Multi-threaded)
- From: Graff <email@hidden>
- Date: Mon, 10 Nov 2003 21:59:27 -0500
Yep, breezed right by that. Nice catch!
That makes a lot of sense now that you've pointed it out. Thanks.
- Ken
On Nov 10, 2003, at 2:22 PM, Christopher Nebel wrote:
The problem is that just "&" isn't good enough to disconnect the
process under "do shell script" -- it's still waiting for stdout and
stderr to return end-of-file. Use the following incantation instead:
do shell script "command > file_path 2>&1 &
If you don't care about the output (which you don't in this case), use
"/dev/null" for file_path. Incidentally, you'd have much the same
problem using backquotes in Perl, though Perl only watches stdout, so
you wouldn't need the "2>&1" part.
_______________________________________________
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.