Qt Installer Framework: installer.execute return code = 9, what does it mean?
Unsolved
Installation and Deployment
-
Hi,
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("killall", ["testservice"]);
or
installer.execute("launchctl", ["unload", "-w", "-F", "/Library/LaunchDaemons/test.plist"]) -
Hi,
It's likely a standard Unix error code. If that's the case it's EBADF meaning bad file number.