I'm using a DOS command file to execute a series of actions, including sending text to the DOS screen, etc.
Example of code:
Qt Code:
void Clone::selectDriveP() { if( driveOnoff) { twProcess.startDetached( "TW_install_P.bat"); driveOnoff = false; } }To copy to clipboard, switch view to plain text mode
I think I have to use startDetached in order to see the DOS screen. However, it seems that because I'm using startDetached, I cannot get signals from the detached process such as start(), finished( int , QProcess::ExitStatus), etc.
Is there something I'm missing?
Bookmarks