TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    foreground and background

    Linux
    2
    2
    470
    Loading More Posts
    • 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.
    • Ricardo HoribeR
      Ricardo Horibe
      last edited by

      What's difference of commands ?
      {"trigger":"Update","command":"sudo dnf -y update","ground":"foreground","voice":"update","allowParams": "false"}
      and
      {"trigger":"Update","command":"sudo dnf -y update","ground":"background","voice":"update","allowParams": "false"}

      Why paramenter background not work?

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Ricardo Horibe
        last edited by Russ

        @Ricardo-Horibe, you the background agent adds, removes, and runs background commands. The foreground agent adds, removes, and runs foreground commands.

        On Windows you can install the background agent (aka service) like this:

        fb0e3a69-72df-490e-a326-bf795c509db3-image.png

        Use one of these commands to install the background agent (aka daemon) on Linux:

        sudo sh /usr/share/triggercmdagent/resources/app/src/installdaemon.sh
        sudo sh /usr/lib/triggercmdagent/resources/app/src/installdaemon.sh (newer Ubuntu OS's)

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • First post
          Last post