Perl code which do the same thing as windows bat.
like
@start /wait C:\prcwth\processInfo.exe "THTPPCTL"
call the .exe from the console , then wait until the process is finished.
Have a look to Backtick Operator to Access System Comands.
With Perl the backtick operator is one of the ways in which you can access system commands. To use this feature in Perl you just put the command that you want to execute between the backticks -- that's it. This runs the command, then you can easily access the command output.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.