Python subprocess.check_call - 退出状态48

时间:2015-05-05 14:30:46

标签: python command-line subprocess osx-yosemite

我正在尝试在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

0 个答案:

没有答案