我正在尝试在python中运行subprocess.check_call
,但继续获取exit status 48
。此命令通过OSX中的终端正常工作,退出状态为0:
/Users/me/Desktop/Python/ChannelAssign /Volumes/GRAID/_PREVIEWS/MASTER.mov
但这不断给我exit status 48
:
import subprocess
subprocess.check_call(['/Users/me/Desktop/Python/ChannelAssign', '/Volumes/GRAID/_PREVIEWS/MASTER.mov'])
这给了我:
CalledProcessError: Command '['/Users/me/Desktop/Python/ChannelAssign', '/Volumes/GRAID/_PREVIEWS/MASTER.mov']' returned non-zero exit status 48