import py.subprocess error...

10 Ansichten (letzte 30 Tage)
uathena
uathena am 25 Jul. 2017
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?

Antworten (0)

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by