Hello im doing one program that i will run a command in cmd.
But when i do this, show me this error:Qt Code:
QProcess pro; pro.startDetached("cmd.exe /k ping 1.1.1.1 -n 1 -w 3000 > Nul & Del " + QApplication::applicationFilePath());To copy to clipboard, switch view to plain text mode
FHVHN.png
I think the problem is QApplication::applicationFilePath()
How i could solve it?
Bookmarks