Code Monkey home page Code Monkey logo

Comments (7)

slafs avatar slafs commented on May 16, 2024

Thanks for raising an issue. We have a PR #121 that is trying to remedy this

from honcho.

Changaco avatar Changaco commented on May 16, 2024

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 barhoncho start -e foo.env bar

from honcho.

Changaco avatar Changaco commented on May 16, 2024

Upstream bug: http://bugs.python.org/issue23058

from honcho.

slafs avatar slafs commented on May 16, 2024

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.

nickstenning avatar nickstenning commented on May 16, 2024

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.

fnavarrog avatar fnavarrog commented on May 16, 2024

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.

nickstenning avatar nickstenning commented on May 16, 2024

Closed by 1319da7 and released as v0.6.4.

from honcho.

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.