removed the use of shlex.join for better backwards compatibility

This commit is contained in:
K4YT3X
2020-09-10 16:15:05 -04:00
parent 04562dcaa1
commit 107d31e5dc
7 changed files with 11 additions and 18 deletions

View File

@@ -15,7 +15,6 @@ import argparse
import os
import pathlib
import platform
import shlex
import subprocess
import threading
@@ -129,6 +128,6 @@ class WrapperMain:
# return the Popen object of the new process created
self.print_lock.acquire()
Avalon.debug_info(f'[upscaler] Subprocess {os.getpid()} executing: {shlex.join(execute)}')
Avalon.debug_info(f'[upscaler] Subprocess {os.getpid()} executing: {" ".join(execute)}')
self.print_lock.release()
return subprocess.Popen(execute)