Hiding Ruby tasks in Windows display

P

Peter Bailey

Hi,
I've got a PC acting as a server that only runs Ruby scripts, using the
Windows task scheduler. If I sit down at that PC I'm constantly
bombarded by command shells opening and closing as these scripts fire
off and on. In DOS and Windows there are ways to hide windows from
displaying. Is there any way to hide window display in Ruby?
Thanks,
Peter
 
R

Robert Dober

Hi,
I've got a PC acting as a server that only runs Ruby scripts, using the
Windows task scheduler. If I sit down at that PC I'm constantly
bombarded by command shells opening and closing as these scripts fire
off and on. In DOS and Windows there are ways to hide windows from
displaying. Is there any way to hide window display in Ruby?
Thanks,
Peter
I hope memory serves correctly but is there not a rubyw.exe that
avoids that behavior?
HTH
Robert


--=20
module Kernel
alias_method :=EB, :lambda
end
 
P

Peter Bailey

Robert said:
I hope memory serves correctly but is there not a rubyw.exe that
avoids that behavior?
HTH
Robert

Thanks, Robert. I've found out about rubyw in the pickaxe book and I'll
investigate further. It sounds perfect for me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top