From 136ac37d42b24884fc62e6d5296541b10c4a117b Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Mon, 24 Feb 2020 14:56:53 -0500 Subject: [PATCH] Changed how the parameter list works --- .../Demo_Multithreaded_Long_Shell_Operation_Animated.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Multithreaded_Long_Shell_Operation_Animated.py b/DemoPrograms/Demo_Multithreaded_Long_Shell_Operation_Animated.py index 2a7c2a1d..52f82a04 100644 --- a/DemoPrograms/Demo_Multithreaded_Long_Shell_Operation_Animated.py +++ b/DemoPrograms/Demo_Multithreaded_Long_Shell_Operation_Animated.py @@ -12,6 +12,7 @@ import PySimpleGUI as sg # Here we're running a simple "pip list" command and using the built-in animated GIF. -output = sg.shell_with_animation('pip', 'list', message='Loading your pip list', background_color='white', text_color='red', font='Helvetica 15') +output = sg.shell_with_animation('pip', ('list',), message='Loading...', font='Helvetica 15') +# output = sg.shell_with_animation(r"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", message='Loading...', font='Helvetica 15') sg.popup_scrolled(output, font='Courier 10')