Git Product home page Git Product logo

Comments (8)

satazor avatar satazor commented on May 14, 2024 8

I think this is out of the scope of this project and should be in its own module.

Thanks anyway.

from node-cross-spawn.

kentcdodds avatar kentcdodds commented on May 14, 2024 4

It's a thing now :) https://github.com/kentcdodds/cross-spawn-with-kill

from node-cross-spawn.

MohamedLamineAllal avatar MohamedLamineAllal commented on May 14, 2024 1

@satazor What's wrong with accepting the PR ? the function is pretty handy.

from node-cross-spawn.

kentcdodds avatar kentcdodds commented on May 14, 2024

cross-spawn-with-kill coming soon to an npm near you :)
cc @mysticatea

from node-cross-spawn.

hemanth avatar hemanth commented on May 14, 2024

heh heh I came here exactly for this!

from node-cross-spawn.

satazor avatar satazor commented on May 14, 2024

Cool

from node-cross-spawn.

Igmat avatar Igmat commented on May 14, 2024

@kentcdodds, thanks a lot for your package - it saves my day.
@satazor, are you sure that kill() for child processes is out of scope for your package? I've spent two days trying to figure out why my integration test doesn't work, cause I don't even thought that problem could be in your package. I have used your package in same manner as node's default spawn function and used types from node for it. Could you please, rethink your decision and accept a PR for it, or may be add mention of this behavior in readme with link to cross-spawn-with-kill?

from node-cross-spawn.

satazor avatar satazor commented on May 14, 2024

You may read the thread starting at this comment on why it didn’t make it: #44 (comment)

from node-cross-spawn.

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.