Lines Matching refs:subprocess
22 import subprocess
156 subprocess.run([os.path.join(CURRENT_OHOS_ROOT, 'build', 'prebuilts_config.sh')])
170 subprocess.run(['hpm', 'config', 'set', 'loginUser', str(sys.argv[3])])
171 subprocess.run(['hpm', 'gen-keys'])
250 check_hdc = subprocess.run(['hdc', '-v'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
254 check_device = subprocess.run(['hdc', 'list', 'targets'], stdout=subprocess.PIPE, stderr=subprocess.PIPE,
266 subprocess.run(["hdc", "-t", str(device), "shell", "mount", "-o", "rw,remount", "/"], check=True,
267 stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
282 subprocess.run(
284 one_push.get("target")], check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)