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
This commit is contained in:
2Shirt 2019-03-19 19:03:16 -06:00
parent 569810c3ca
commit 3f96a31e1e
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -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():