mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-20 20:24:45 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6a84854da9
commit
1ec32b7c10
|
@ -239,11 +239,7 @@ class UnixViewer(Viewer):
|
||||||
path = quote(path)
|
path = quote(path)
|
||||||
command = self.get_command(path, **options)
|
command = self.get_command(path, **options)
|
||||||
|
|
||||||
kwargs = {
|
kwargs = {"shell": True, "stdout": subprocess.PIPE, "stderr": subprocess.PIPE}
|
||||||
"shell": True,
|
|
||||||
"stdout": subprocess.PIPE,
|
|
||||||
"stderr": subprocess.PIPE
|
|
||||||
}
|
|
||||||
|
|
||||||
th = threading.Thread(
|
th = threading.Thread(
|
||||||
target=subprocess.run, args=(command,), kwargs=kwargs, name=path
|
target=subprocess.run, args=(command,), kwargs=kwargs, name=path
|
||||||
|
|
Loading…
Reference in New Issue
Block a user