i want to run a bacth file from QT, currently i have code something like given below. i want to run on cmd is somthing like
how do i run the batch file with arguments? any help will be appriciatedstartup.bat -arg1=abc -arg2=abc1 -arg2=abc3 -arg4=abc4
Qt Code:
void MainWindow::on_Button_Go_clicked() { QProcess cmd; //Run it! cmd.startDetached(myProc); qDebug(myPath.toStdString().c_str()); }To copy to clipboard, switch view to plain text mode
Bookmarks