mit systemCommand python Script ausführen
Solved
German
-
Hallo zusammen,
ich möchte einen python Script in einem Unit Test ausführen.
Meine Frage mit welchen SystemCommand kann dieses tun?Ich habe es folgende versucht:
QString command = "python3 pythonScript.py" system(command.toStdString().c_str());
aber das hatte nichts gebracht:
Fehlermeldung:python3: can't open file 'pythonScript.py': [Errno 2] No such file or directory
Danke