Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Installer Framework: installer.execute return code = 9, what does it mean?
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework: installer.execute return code = 9, what does it mean?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 349 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tuong
    wrote on last edited by Tuong
    #1

    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"])

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      It's likely a standard Unix error code. If that's the case it's EBADF meaning bad file number.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved