コード例 #1
0
ファイル: _command.py プロジェクト: waaaaaaz/AppBeat
 def is_ios_process_exist(udid):
     report_dir = os.path.join(FileUtils.output_dir(udid), "screen_shot")
     FileUtils.make_dir(report_dir)
     cmd = "idevicecrashreport -u  {0} shell ps | grep {1}".format(
         udid, report_dir)
     return CommandUtils.cmd_format(cmd)