python read stdout from commandの検索結果