I am using PAR Packer to create executables from a series of Perl scripts. I can create the executable using the command:
pp perl_script1.pl -o test1.exe
When I place all the pp
commands into a batch script and execute it in cmd.exe
, the batch script exits after running the first line.
pp perl_script1.pl -o test1.exe
pp perl_script2.pl -o test2.exe
pp perl_script3.pl -o test3.exe
pp perl_script4.pl -o test4.exe
How can I add multiple pp
commands to a single batch script, and launch it to create all the executables at once?
pp
appears to be a batch file.
When a batch file is executed from a batch file, execution is simply passed to the second batch.
When the second batch ends, so does the process.
call
causes the target executable to be executed and when it ends, returns execution to the statement following the call