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

foreground and background

Linux
2
2
486
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.
  • R
    Ricardo Horibe
    last edited by Dec 3, 2020, 11:27 AM

    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?

    R 1 Reply Last reply Dec 3, 2020, 10:36 PM Reply Quote 0
    • R
      Russ @Ricardo Horibe
      last edited by Russ Dec 3, 2020, 10:38 PM Dec 3, 2020, 10:36 PM

      @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
      2 out of 2
      • First post
        2/2
        Last post