From: Clifford Heath Date: 2010-07-22T09:30:04+09:00 Subject: Re: How to avoid black-windows using system() ? Roger Pack wrote: >> 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. system uses cmd to run the command, and cmd launches a virtual-DOS environment. It's possible (but not from Ruby, I think) to launch cmd with no window - my team figured out how some years back - but I'd have to search to get the details. >> Is there a way to avoid that with Ruby ? The only way I can think of is to change the SHELL environment variable to designate a wrapper for cmd that sets the "no-window" option. Sorry it's not a solution, but I thought the pointer might help. Clifford Heath.