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

@@ -14,7 +14,6 @@ for waifu2x-converter-cpp.
import argparse
import os
import pathlib
import shlex
import subprocess
import threading
@@ -121,6 +120,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)