From 3f96a31e1e09bfe48a66cf86c3edae22fa102878 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Tue, 19 Mar 2019 19:03:16 -0600 Subject: [PATCH] Fixed opening Snappy Driver Installer Origin * Set working dir so the config file is read * Pipe output to prevent flooding the screen with debug data --- .bin/Scripts/functions/setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.bin/Scripts/functions/setup.py b/.bin/Scripts/functions/setup.py index 970edfe9..76fdc1db 100644 --- a/.bin/Scripts/functions/setup.py +++ b/.bin/Scripts/functions/setup.py @@ -289,8 +289,9 @@ def open_device_manager(): def open_snappy_driver_origin(): - cmd = r'{BinDir}\_Drivers\SDIO\SDIO.exe'.format(**global_vars) - popen_program(cmd) + cwd = r'{BinDir}\_Drivers\SDIO'.format(**global_vars) + cmd = [r'{}\SDIO.exe'.format(cwd)] + popen_program(cmd, cwd=cwd, pipe=True) def open_windows_activation():