Rajvesh
30th January 2017, 18:22
Hello,
I have started a cmd.exe. with some arguments.
After starting of the Qprocess , i want to send another argument to the same process.
QProcess *qProc = new QProcess;
qProc->start("cmd.exe",QStringList()<<"/C"<<"C:\\setenv.bat");
Now how to send one more command after the above command to qProc?
Thanks in advance.
I have started a cmd.exe. with some arguments.
After starting of the Qprocess , i want to send another argument to the same process.
QProcess *qProc = new QProcess;
qProc->start("cmd.exe",QStringList()<<"/C"<<"C:\\setenv.bat");
Now how to send one more command after the above command to qProc?
Thanks in advance.