in reply to Re: how to come next line to debug
in thread how to come next line to debug

foreach my $missingExe (@exeList){ chdir "d:\\exepath"; #change the path system(1, "$missingExe"); #for run the exe here 1 is for don' +t wait for next line to execute # $missingExe is the watch folder exe so it never ends }

This coding runs fine but this program could not end, until or otherwise i manually close the exe's($missingExe). Then only i can end this program.

So what can i do for this.

Thanks in advance,
Shanmugm A.

Replies are listed 'Best First'.
Re^3: how to come next line to debug
by moritz (Cardinal) on Nov 28, 2008 at 10:39 UTC
    If I understand your question correctly, it is "how do I run programs in the background?".

    This question has been asked many times here, and search for it should reveal many helpful replies.