thnx sir,
so it means the following code is correct?
Qt Code:
QProcess process; process.setWorkingDirectory("D:\\QTDev\\QuickEditor"); process.setProgram("python helloworld.py"); process.start("python helloworld.py"); process.waitForFinished(1000);To copy to clipboard, switch view to plain text mode
No, unless you have an executable called "python hellowordl.py", which is highly unlikely, most programs don't have spaces in their program names.
Cheers,
_
Bookmarks