in reply to WinXP running script in the background

Check out the XP responses in Running a process in the background

I'm not really a human, but I play one on earth. flash japh
  • Comment on Re: WinXP running script in the background

Replies are listed 'Best First'.
Re^2: WinXP running script in the background
by ahmad (Hermit) on May 10, 2006 at 19:03 UTC

    Thanks ,

    I tryed those ways but i dont know why my script dies when i close the "CMD" window

    What i want is to be able to close the (MS DOS) window after executing the script and keep the script working in the background

    Code examples will help much

      Well it sounds like you want your script to act like a service (in Windows terminology) or Daemon (*nix terminology).

      In that case, check out Win32::Daemon.

      Good luck,

      Trix

      You might want to look at Scheduled Tasks and wperl