GithubHelp home page GithubHelp logo

Comments (6)

rmg avatar rmg commented on May 28, 2024

Sadly, this is probably a result of cae06b9 which was the fix for #49.

Since that was the only real change in 0.4.1, you can try 0.4.0 with npm install -g [email protected]. It will eventually crash, if it runs long enough, but normal developer work flow usually involves killing it before that happens anyway.

from node-foreman.

davidmurdoch avatar davidmurdoch commented on May 28, 2024

Just FYI, if you remove the quotation marks (and the /s switch) it works.

It looks as if node's spawn actually escapes quotation marks in args, which means the /s switch never gets to do anything.

I think args = ['/c', proc.command]; should do the trick.

from node-foreman.

rmg avatar rmg commented on May 28, 2024

@davidmurdoch any chance you could verify that? I don't have a real Windows machine, so it might be faster for you.

from node-foreman.

rmg avatar rmg commented on May 28, 2024

Found a Windows VM, publishing a patch release momentarily.

from node-foreman.

davidmurdoch avatar davidmurdoch commented on May 28, 2024

Sorry, I was away for a moment.

I knew it works for my node web.js case; I just hadn't tested more complex scenarios involving quotes and/or nested quotes, that's why I said that "I think".

Glad I could help track this down and thanks for the quick responses!

from node-foreman.

rmg avatar rmg commented on May 28, 2024

Forgot to say the publish was done. v0.4.2 was released with the fix.

from node-foreman.

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.