From: "Rémi Cools" Date: 2010-07-21T08:54:41+09:00 Subject: How to avoid black-windows using system() ? Hi, I'm just discovering Ruby, so, be indulgent! When I use this code : cmd = "d:\\mes documents\\___3D\\imageMagick\\montage.exe" system( [cmd, cmd], "-background", "#000000", "-geometry", "100%%", "1.jpg", "2.jpg", "3.jpg") A black-window like the jpg in attachment opens itself for half a second. Due to an iteration, this black-window opens itself dozen of times! It's not very professional. Is there a way to avoid that with Ruby ? Or must I absolutely look for that with the called-program ? (sort of silent mode) Thanks Regards. Attachments: http://www.ruby-forum.com/attachment/4873/BLACK.jpg -- Posted via http://www.ruby-forum.com/.