in reply to Re^3: How to execute multiple commands through perl script
in thread How to execute multiple commands through perl script
Use a piped-open like this:
my $pid = open CMD, '| cmd /k' or die $!; print CMD 'cd c:\PerlExamples'; print CMD 'python Pyscript.py server=server_name.com'; print CMD 'test=$test_name,$file_name'; ...
|
|---|