Yes yes, I REALLY want to terminate that process and I am very sure about it too, ty.

  • @mkwt
    link
    1025 days ago

    TerminateProcess() is pretty reliable, but it doesn’t form part of the C signals stack on Windows like kill -9. So for instance, if you’re doing process control on Python, you need to use a special Windows-only API to access TerminateProcess().

    • @[email protected]
      link
      fedilink
      English
      125 days ago

      Never used kill -9. What’s the difference between that and taskkill. I usually used taskkill /pid processiwanttokill.exe /f

      • @mkwt
        link
        325 days ago

        Kill -9 is a command on Unix and Linux to send signal 9 (SIGKILL) to a process. That’s the version of kill that is the most reliable and has immediate effect.

        Taskkill is a Windows command line program. I believe that taskkill /f uses the TerminateProcess() API. This is more forceful than the End Task button on the Task Manager. There is a different End Process button on the Task Manager that does use TerminateProcess().

        • @[email protected]
          link
          fedilink
          English
          125 days ago

          Is the 9 pertaining to permissions like chmod uses them? I’ll have to look it up sometime. Been awhile since I’ve ever actually needed to force quit something in a Linux os

            • @[email protected]
              link
              fedilink
              English
              2
              edit-2
              25 days ago

              Thanks for that, I’ll have a ganter. Need to spin up a new VM soon and figure out a new distro to play with. Been slacking on exploring new things. Mostly only played with Yellow dog (small enough to dual boot on a PS3 with 512mb of ram back in the day), Ubuntu, Debian for other things. Likely will look for something that will work well for a media server.

              • @[email protected]
                link
                fedilink
                2
                edit-2
                24 days ago

                Have fun exploring! I just have a simple Raspberry Pi at home with a few services, after working with this stuff all the time I rarely feel like tinkering at home :D