Lines Matching defs:run_command_stdout

169     res = run_command_stdout("{}{}{}{}{}".format("shell \"[ ", file_type, " ", remote_file,
191 res = run_command_stdout("{}{}{}".format("attrib ", local_file, ""))
203 ret = run_command_stdout("{}{}{}".format("if exist ", file_path, " echo yes"), '')
205 res = run_command_stdout("{}{}{}".format("dir/ad ", file_path, " >nul 2>nul && echo dir || echo file"), '')
224 res = run_command_stdout("shell \"bm dump -a\"", head)
233 res = run_command_stdout("shell \"whoami\"", head)
239 res = run_command_stdout("shell \"whoami\"", head)
246 res = run_command_stdout(BASIC_COMMANDS['component'][0], head)
254 res = run_command_stdout(TCP_CONN['tconn'])
279 def run_command_stdout(cmd, head=NORMAL_HEAD, need_del=True, need_callback=True):
315 run_command_stdout(command, head, False)
321 run_command_stdout("{}{}{}{}".format("file send ", PATH['dir_send']['local'], " ", PATH['dir_recv']['remote']),
356 res = run_command_stdout("{}{}{}{}".format("file send ", send_path, " ", mix_path(recv_path, str(i))))
362 res = run_command_stdout("{}{}{}{}".format("file recv ", remote_path, " ", mix_path(recv_path, str(i))))
368 send_md5 = run_command_stdout("{}{}{}".format("certutil -hashfile ", os.path.abspath(file_path), " MD5"),
377 md5 = run_command_stdout("{}{}{}".format("shell \"md5sum ", file_path, "\""), head)
393 run_command_stdout("{}{}{}{}".format("file send ", os.path.abspath(PATH['file_empty']['local']), ' ',
395 run_command_stdout("{}{}{}{}".format("file send ", os.path.abspath(send_file), ' ', recv_file),
446 ret = run_command_stdout("kill")
458 run_command_stdout("{}{}{}{}".format("file send ", PATH['dir_send']['local'], " ",