mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-05-20 11:07:31 +08:00
removed the use of shlex.join for better backwards compatibility
This commit is contained in:
@@ -14,7 +14,6 @@ for waifu2x-caffe.
|
||||
import argparse
|
||||
import os
|
||||
import pathlib
|
||||
import shlex
|
||||
import subprocess
|
||||
import threading
|
||||
|
||||
@@ -108,6 +107,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)
|
||||
|
||||
Reference in New Issue
Block a user