僕とcpとSubprocessと ref: http://qiita.com/FGtatsuro/items/02878d413e04789449f8