Comments (6)
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.
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.
@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.
Found a Windows VM, publishing a patch release momentarily.
from node-foreman.
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.
Forgot to say the publish was done. v0.4.2 was released with the fix.
from node-foreman.
Related Issues (20)
- Using .env parameters inside Procfile HOT 2
- How to handle nf run child process options HOT 2
- Regex DoS (ReDos) Vulnerability [FIXED] HOT 14
- Handling release entry in procfile HOT 7
- npm reported sever vulnerability in nf HOT 1
- Profile parsing fails if tuple is not set or has no items HOT 1
- Redis exits with code 1 or null, node-foreman does not appear to wait as foreman does HOT 1
- Spuriously escapes some characters on windows HOT 1
- library usage of `node-foreman`? HOT 1
- Error when starting foreman: Cannot read property '1' HOT 3
- Sequential tasks HOT 3
- How to use different shell to /bin/sh HOT 4
- all processes are killed if one process exits HOT 5
- Processes don't always exit on Ctrl-C (SIGINT)
- How to run nf run 'node --expose-gc' app.js
- .env parsing does not allow for BASH references like other dotenv implementations
- Mac now defaults to using port 5000
- Disable Logging or log levels
- Command-line option to disable automatic PORT assignment
- `nf` claims to have delivered `SIGINT` to all children on exit from one, but does not actually HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-foreman.