• MonkderDritte@feddit.de
    link
    fedilink
    arrow-up
    174
    ·
    4 months ago

    SIGTERM is the graceful way tho? It nicely asks programs to please close and cleanup. Unlike SIGKILL, which bombs the shop and creates orphans.

    • Thann@lemmy.ml
      link
      fedilink
      English
      arrow-up
      38
      ·
      4 months ago

      And we give steam a fewilliseconds to comply, so IDK what they’re complaing about…

      • MonkderDritte@feddit.de
        link
        fedilink
        arrow-up
        11
        arrow-down
        2
        ·
        edit-2
        4 months ago

        ?

        You’re supposed to close Steam via menu or systray. If you run it in cli, you see that it cleans then a whole bunch up for a few seconds.

      • TechAnon@lemm.ee
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        4 months ago

        Steam is clunky… Exit -> Oh you want to exit? Let me launch a new window letting you know I’m shutting down and take about 20 seconds while I was sitting here idle before you asked to shutdown.

        See you tomorrow where I’ll validate your games again. Just in case!

    • SpaceCowboy@lemmy.ca
      link
      fedilink
      arrow-up
      19
      arrow-down
      1
      ·
      4 months ago

      Yup. And you can kill processes in Windows to in the task manager. Or probably with a Powershell command too, but nobody’s gonna learn Powershell LOL.

      There’s nearly always equivalent functions in both Linux and Windows, just in Windows you gotta click around in more bullshit forms and shit to find stuff. Or learn Powershell, but again, LOL. They are both OSes after all, they do similar things. Just one might do them better than the other.

        • stetech@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          4 months ago

          It might be nice and all that (I wouldn’t know), but it’s not a sub- nor superset of glorious POSIX

          • pantyhosewimp@lemmynsfw.com
            link
            fedilink
            arrow-up
            7
            ·
            4 months ago

            Boy oh boy would you hate AppleScript. This is what I have to type to throw files in the trash instead of deleting them.

            tell application ”Finder” to delete POSIX file “/full/fucking/path/to/file”
            
            • PlexSheep@infosec.pub
              link
              fedilink
              arrow-up
              2
              arrow-down
              1
              ·
              4 months ago

              Why do you need to “tell” some “application”? Why do you need a “finder” if you know the absolute path already? Does this imply that “finder” always runs, ready to be told something?

              • pantyhosewimp@lemmynsfw.com
                link
                fedilink
                arrow-up
                2
                ·
                4 months ago

                Finder is macOS equivalent of Windows Explorer (maybe, it’s been a while). I assume Linux desktop suites have various similar processes. In other words, a second optional layer (with more features) to access runtime libc file manipulation api.

          • capital@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            4 months ago

            I really appreciate the consistency. People also dog it for being verbose to write but it makes it so much more legible.

            /shrug

            • MrPommeroy@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              4 months ago

              I usually write verbose code and use self-documenting function names, but to have such a limited set of verbs available can be frustrating. They could at least have used a proper dictionary and included all verbs. Then have a map of synonyms that are preferred, like instead of ‘create’ they prefer ‘new’ (which isn’t even a verb).

          • lud@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            You don’t have to follow best practices though. You can name shit pretty much whatever you want.

        • SpaceCowboy@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          It’s one of those things wher eI’m sure it’s fine if you learn it. But it’s not DOS CMD, but also not bash.

          So instead of improving CMD to have more features or just going all the way and offering an official bash implementation, they want me to learn a third thing. Just don’t have time for it.

          • capital@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            It’s second to none if you have to get things done in a Windows environment, especially if dealing with Active Directory.

            But if not, I don’t blame you for not picking it up. Right tool for the job and all that.

            • SpaceCowboy@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              4 months ago

              I do use it occasionally, but I gotta google for the command every time. So not exactly learning it.

      • lud@lemm.ee
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        4 months ago

        I use powershell quite a bit at work and I really like it.

        If anything it’s much easier to read than the abomination called bash.

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          4 months ago

          I wanna learn PowerShell but I only really learn extra stuff like that if I have to. My work computer is a Mac now and has been since 2019. At home I don’t use too much on Windows to really warrant it. I did used to know how to do “sudo” in PowerShell which was useful. Best the hell out of restarting as admin.

          The “object” approach instead of everything as text seems desirable.