mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
commit
6684622c25
|
@ -179,7 +179,7 @@ else:
|
||||||
with open(path, "r") as f:
|
with open(path, "r") as f:
|
||||||
command = self.get_command_ex(file, **options)[0]
|
command = self.get_command_ex(file, **options)[0]
|
||||||
subprocess.Popen(
|
subprocess.Popen(
|
||||||
["im=$(cat);" + command + " $im;" "rm -f $im"], shell=True, stdin=f
|
["im=$(cat);" + command + " $im; rm -f $im"], shell=True, stdin=f
|
||||||
)
|
)
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user