Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input commands in a exe through cmd.exe and get output in QM
#1
General question:

If I have a certain example.exe (has no GUI) that I can run through cmd.exe and accepts commands through cmd.exe, and outputs also in said cmd.exe. How can I get QM to send commands to example.exe and get the output of example.exe for further use in QM? example.exe is a complex program and should remain active (so not a simple "open example.exe -> input command -> get output from example.exe -> close example.exe", but more like "open example.exe -> input command -> get output from example.exe (-> QM uses this output) -> input command -> get output from example.exe (-> QM uses this output) ->..."

Manually, I would have to right-click and paste the input command in cmd.exe and press enter. When example.exe outputs in cmd.exe -> right-click -> click "mark" -> select the output text in cmd.exe -> press enter to copy it.

How can I do this in QM?

Alternatively, can I run example.exe directly from QM, send commands to it and get its output in QM (while keeping example.exe active)?

Edit: I wonder if it has something to do with this: Capturing output stream from console app ? But I would still need a way to send commands to example.exe :/


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)