0

当我使用 subprocess.Popen 运行 cts 时,它总是进入非交互模式然后停止。

非交互模式:运行初始命令然后退出。

下面是我使用的代码。

subprocess.Popen(command_list,stdout=subprocess.PIPE,stderr=subprocess.STDOUT)

Android CTS 5.1_r5 Non-interactive mode: Running initial command then exiting. Using commandline arguments as starting command: [run, cts, --plan, CTS, -s, JS2U300154120087, --disable-reboot] 02-27 17:49:09 I/DeviceManager: Detected new device JS2C300154455332 02-27 17:49:09 I/DeviceManager: Detected new device JS2U300154120087 02-27 17:49:09 I/TestInvocation: Starting invocation for 'cts' on build '5.1_r5' on device JS2U300154120087 02-27 17:49:09 I/JS2U300154120087: Created result dir 2016.02.27_17.49.09 02-27 17:49:10 I/CtsTest: ABIs: [armeabi-v7a, arm64-v8a]

4

0 回答 0