Multiple instances of osascript == Bus error
Multiple instances of osascript == Bus error
- Subject: Multiple instances of osascript == Bus error
- From: Ryan Hofschneider <email@hidden>
- Date: Sat, 30 Mar 2002 02:37:07 -0800
Does anyone know why you can't run multiple instances of
/usr/bin/osascript simultaneously without getting a bus error?
a simple test case: execute 'osascript -e "return null"' in two
Terminal.app windows at the same time; the second instance to start up
will crash ("Bus error").
I seem to get the same problem with a command-line tool I've written
using Cocoa and OSA which executes some AppleScript. It works fine if I
just run one instance of the tool, but if I attempt to run two instances
at the same time, the second instance crashes with a bus error.
(And if I try to run both my command-line tool and osascript at the same
time, which ever one I launch second will crash)
Can anyone suggest how I might resolve this? Is this a well-known
problem? I have already posted this query to applescript-implementors,
but got no responses and have searched both the omnigroup and apple list
archives.
I'm using 10.1.2 but I have seen it under 10.1.3 as well.
Thanks,
Ryan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.