tags:

views:

40

answers:

3

Hi,

I have a lot of perl scripts that are on infinite loop running on my windows system. It is terribly inconvenient to have that many command prompts open not to mention the likelihood of closing them by mistake(strangely, they also seem to pause when I click on the prompt)

Is there someway I can handle this? Like maybe minimize this to the tray and maximize whenever necessary?

If it is of any use, I use activeperl

+1  A: 

Install GNU Screen. You can get it for Windows as part of Cygwin. You can then have multiple command line shells running in a single window, and can detach that window to run in the background.

David Dorward
+3  A: 

You can use Console2 utility, which is a Windows console window enhancement, it has a multiple tab feature.

Igor Korkhov
A: 

Have you considered Win32::Daemon?

RedGrittyBrick
Even if i run it as a service, wont it still occupy the prompt?
Aks
I haven't used it but from what I've read (see link above), It shouldn't occupy a command window if you use the Win32::Daemon facilities to install it as a Windows service. I imagine you can then treat it like any service, started automatically at Windows startup or started manually when needed using the Windows service manager.
RedGrittyBrick