You've already forked my-video-workflow
linux which屏蔽输出内容
This commit is contained in:
@ -14,7 +14,7 @@ def check_exec(name: Union[os.PathLike[str], str]) -> bool:
|
|||||||
elif is_linux():
|
elif is_linux():
|
||||||
check_process = subprocess.Popen([
|
check_process = subprocess.Popen([
|
||||||
"which", name
|
"which", name
|
||||||
])
|
], stdout=subprocess.PIPE)
|
||||||
check_process.wait()
|
check_process.wait()
|
||||||
return check_process.returncode == 0
|
return check_process.returncode == 0
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user