import py.subprocess error...

10 次查看(过去 30 天)
uathena
uathena 2017-7-25
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 个)

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by