Skip to content

Commit 882f3d6

Browse files
committed
Invoke osascript with absolute path in turtledemo
1 parent 2ef2289 commit 882f3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/turtledemo/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __init__(self, filename=None):
136136
# so that our menu bar appears.
137137
subprocess.run(
138138
[
139-
'osascript',
139+
'/usr/bin/osascript',
140140
'-e', 'tell application "System Events"',
141141
'-e', 'set frontmost of the first process whose '
142142
'unix id is {} to true'.format(os.getpid()),

0 commit comments

Comments
 (0)