Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Perl Monks, I am glad that you guys are out there helping us to accomplish tedious tasks with the perl language. This time, I have managed to run my perl script as service using instruction published before. My problem is when I run it as service, I cannot see the dos box or user interface. Is there anyway to have the dos-box? thanks in advance & happy new year to all
  • Comment on Windows NT Service & Dos Box - User Interface

Replies are listed 'Best First'.
Re: Windows NT Service & Dos Box - User Interface
by CountZero (Bishop) on Dec 26, 2003 at 09:47 UTC
    The way this is usually done is by having another program monitoring some parameters or data which the service program provides in an agreed location (e.g. a file somewhere on the file system)

    In this way the service program quitely runs on its own and the monitoring program --which can be started and stopped independently-- gives a view into the service program.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Re: Windows NT Service & Dos Box - User Interface
by castaway (Parson) on Dec 26, 2003 at 08:51 UTC
    Using *which* instructions published before? Please show a link to what you mean, or list them here.

    Generally, running something as a service means it doesnt require user interaction, so what are you running, and why does it?

    I'm going to guess that you didnt allow the service interaction with the current user, or you're running it as a user which can't do this, so the UI just doesn't get shown.

    C.

Re: Windows NT Service & Dos Box - User Interface
by Anonymous Monk on Dec 26, 2003 at 09:21 UTC
    Mr C. I know that it looks stupid, but I would like to show only the display so that we can see the status. I have used srvany from windows resource kit to install it as service.