Giter Club home page Giter Club logo

Comments (7)

sindresorhus avatar sindresorhus commented on May 30, 2024 12

Maybe we could group processes with the same name into one? And when selected, it would open a menu with an option to kill all or select individual processes.

from fkill-cli.

ishanjain28 avatar ishanjain28 commented on May 30, 2024

I think I found something that can help but It'll probably need some changes in ps-list.

Chrome creates a seperate process for every tab and extension and all these processes run with some options as shown in image.
But it also starts one process that runs without any options and killing this process closes Google Chrome Completely.

I was thinking that may be we can modify the ps-list a bit and send another parameter in response that contains the arguments of a process.
And then in fkill we can remove all chrome processes that were started with some argument and only show the ones that weren't started with an argument.

If the user kills this process it'll close chrome and it'll not show 50 chrome processes and close the window associated with that process.

screenshot from 2017-03-02 15-37-15

from fkill-cli.

sindresorhus avatar sindresorhus commented on May 30, 2024

I was thinking that may be we can modify the ps-list a bit and send another parameter in response that contains the arguments of a process.

ps-list already returns that.

And then in fkill we can remove all chrome processes that were started with some argument and only show the ones that weren't started with an argument.

It's possible for users to start Chrome with arguments, like specifying where to put the profile data or open Incognito directly, so that wouldn't work, but I guess we could easily special case Chrome and detect its helper processes and hide them.

from fkill-cli.

sindresorhus avatar sindresorhus commented on May 30, 2024

but I guess we could easily special case Chrome and detect its helper processes and hide them.

This is done in 3.5.0. It now hides any helper processes.

from fkill-cli.

IssueHuntBot avatar IssueHuntBot commented on May 30, 2024

@IssueHunt has funded $40.00 to this issue. See it on IssueHunt

from fkill-cli.

stroncium avatar stroncium commented on May 30, 2024

What is the status of this issue?

from fkill-cli.

sindresorhus avatar sindresorhus commented on May 30, 2024

@stroncium The following needs to be resolved: #6 (comment)

Having a sub-menu for identically named processes would also let us add an entry to delete all processes with the same name.

from fkill-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.