#!/use/bin/env ruby # -*- coding: utf-8 -*- pid = spawn "display -geometry +10+20 タイトル-1024x576.jpg" sleep(10) Process.kill(:INT,pid)