Hi,

at the moment i am using the following construction to launch a 3rd party app from my QT-based UI (developed on and for windows).

The cmd construction looks like this:
Qt Code:
  1. QProcess::startDetached("C2oooProgConsole.exe -s -d="+selectedDspType +" -p="+ selectedInterface +" -h="+ windowsFileName +" -c");
To copy to clipboard, switch view to plain text mode 

So basically the 3rd party app is a commandline based application with some custom parms, which are defined in my UI.

Unfortunaly this output does launch itself in a DOS-Commandbox (cmd.exe) and closes itself after finishing. So i cant even read the output, as the window is already closed again.

As i cant find a parameter for this 3rd party app to let it pause after having finished i was thinking about linking the output directly into my app bck again, so that every single line which happens on the cmd-window is returned to my application UI. In best case i would just link it back to a QTextEdit which i am using right now as log-text-field.

That is the theoretical description....but is that somehow possible ? and if yes what should i search for in the AT doc's ? any suggestion / ideas ?

Best regards
ape