diff options
Diffstat (limited to 'Lib/turtledemo/__main__.py')
| -rw-r--r-- | Lib/turtledemo/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/turtledemo/__main__.py b/Lib/turtledemo/__main__.py index 0a58332a66..6daf694427 100644 --- a/Lib/turtledemo/__main__.py +++ b/Lib/turtledemo/__main__.py @@ -136,7 +136,7 @@ class DemoWindow(object): import subprocess # Make sure we are the currently activated OS X application # so that our menu bar appears. - p = subprocess.Popen( + subprocess.run( [ 'osascript', '-e', 'tell application "System Events"', |
