I have a windows excecutable, which itself accepts more commands
The issue is automating it via perl, e.g.
c:>myprogram
myprorgam# myprogram_command1
result1:a
result2:b
myprogram# myprogram_command2 a b (the output of the previous command)
...
I can do in perl system "myprogram.exe",
but the question is how to capture the result of the myprogram commands.
Any ideas?
The issue is automating it via perl, e.g.
c:>myprogram
myprorgam# myprogram_command1
result1:a
result2:b
myprogram# myprogram_command2 a b (the output of the previous command)
...
I can do in perl system "myprogram.exe",
but the question is how to capture the result of the myprogram commands.
Any ideas?