2006-08-09から1日間の記事一覧
ファイルの終了待ちにならないように スレッドを使ってファイルを開く path = "D:/XXX/sample.txt" ftype = `assoc #{File.extname(path)}`.split("=")[1] open_command = `ftype #{ftype}`.split("=")[1] open_command = open_command.sub("%1" , "").sub("…
ファイルの終了待ちにならないように スレッドを使ってファイルを開く path = "D:/XXX/sample.txt" ftype = `assoc #{File.extname(path)}`.split("=")[1] open_command = `ftype #{ftype}`.split("=")[1] open_command = open_command.sub("%1" , "").sub("…