Hello im doing one program that i will run a command in cmd.
Qt Code:
  1. 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 
But when i do this, show me this error:
FHVHN.png
I think the problem is QApplication::applicationFilePath()
How i could solve it?