in reply to Perl script stops running on windows after launching another app

I think your question is how to launch a process in the background on Windows. The easy way is to use the "start" command. At the command prompt, type: help start. start someprog will return immediately to you and someprog will run as a completely detached thing. If you have a .bat file and have say a line with just someprog.exe in it, it will wait until that program finishes. The start command can be used in the .bat file.

Notice that there are also options to "start" like the CPU priority, and others.

  • Comment on Re: Perl script stops running on windows after launching another app

Replies are listed 'Best First'.
Re^2: Perl script stops running on windows after launching another app
by breezykatt (Acolyte) on Jul 10, 2011 at 03:24 UTC
    Yes, exactly. thanks for sending this. I had figured out a temporary solution in the mean time. What I did was create a link to the executable file. If you right click it, go to properties, you can specify to minimize the app when opening. This seems to work fine, but your solution looks like the proper way to go about it. :)