はこだてMap+で函館スイーツの情報を得てスイーツな気分になれる SPARQL のクエリー集
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "open3" | |
begin | |
# ここで実行 | |
out, err, status = Open3.capture3("ls --option") | |
# 実行ファイルはあるがなんか失敗している場合 | |
if err.length != 0 then | |
print("実行できましたが失敗しています\n" + err) | |
end |