Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Installer Framework: installer.execute return code = 9, what does it mean?
Tuong last edited by Tuong
I have a question:
Sometimes, I use method installer.execute (...) to run a command on MacOS and it returns ["", 9], do you know the meaning of that code?
(Here is the document: https://doc.qt.io/qtinstallerframework/scripting-installer.html#execute-method)
these are some commands I run:
installer.execute("launchctl", ["unload", "-w", "-F", "/Library/LaunchDaemons/test.plist"])
It's likely a standard Unix error code. If that's the case it's EBADF meaning bad file number.