in reply to Opening files for other exes in Windows
>Is there a way to spawn the system call in a separate thread or some other means such that I'm not hanging the program waiting for the user to close the viewing exe?Say
Please note the ampersand (&) in the system call.my $File = "perl script.pl &" my $returnValue = system($File); print "Done. ReturnValue $returnValue\r\n"; #rest of the program goes here
|
|---|