Comments (7)
Thanks for raising an issue. We have a PR #121 that is trying to remedy this
from honcho.
Workaround for those who don't want to wait for #121: put the common args like -e
in the subcommand instead of before it.
Example: honcho -e foo.env start bar
→ honcho start -e foo.env bar
from honcho.
Upstream bug: http://bugs.python.org/issue23058
from honcho.
Thanks @Changaco. Now I am wondering is there actually anything we can do on our part. Will give it a closer look when I'll have some time.
from honcho.
I'm with @slafs on this one. This is pretty clearly a bug in Python 2.7.9, and I'm not sure that breaking backwards compatibility with past versions of Honcho in order to fix it is a good idea.
from honcho.
Just for completeness, I'll add a different situation where it will dramatically affect working code. In this case, if the -f
parameter comes before the start
command, honcho will endlessly fork new processes.
In a specific case, those working with foreman+honcho in Heroku, will see their startup sequence stop working. Repro files in here, https://gist.github.com/anonymous/6705f438f83e4347850c
Output will look like this
17:12:58 web.1 | started with pid 217
17:12:58 web.1 | 17:12:58 web.1 | started with pid 220
17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | started with pid 223
17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | started with pid 226
17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | started with pid 229
17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | 17:12:58 web.1 | started with pid 232
from honcho.
Closed by 1319da7 and released as v0.6.4.
from honcho.
Related Issues (20)
- Running multiple workers in background? HOT 1
- Virutalenv on Windows + *nix HOT 2
- Multiple Printers to Honcho Manager? HOT 3
- Dashes in process types HOT 1
- Feature proposal: a honcho module API HOT 3
- Project Status of Honcho? HOT 1
- Stop honcho from Makefile HOT 5
- [bug] Subparsers override common common_args HOT 1
- Honcho buffers output to file HOT 2
- Prefix without timestamp
- Py3.8 RuntimeWarning: line buffering isn't supported in binary mode HOT 4
- PROCFILE envvar is respected only if provided on .env file HOT 1
- Why isn't there "stop" command? HOT 4
- New Release? HOT 4
- systemd exporter not working
- honcho run doesn't load .env variables HOT 2
- Prevent existing environment variables from being overriden?
- Thanks HOT 1
- Support color output by processes
- Why start_new_session=True ? (sorry not really an issue)
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 honcho.