import py.subprocess error...
10 次查看(过去 30 天)
显示 更早的评论
I tried to call adb shell from a python subprocess
py.subprocess.Popen(pyargs('args','adb shell', 'stdin', py.subprocess.PIPE)).
But it returned the following error:
Error using subprocess>_make_inheritable (line 566) Python Error: WindowsError: [Error 6] The handle is invalid
Error in subprocess>_get_handles (line 532) c2pwrite = self._make_inheritable(c2pwrite)
Error in subprocess>init (line 382) errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
Any idea about why this happens?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!