Giter VIP home page Giter VIP logo

Comments (9)

tarekziade avatar tarekziade commented on August 24, 2024

maybe we could have a command to send data through stdin to all processes. I am not sure about keeping a stdin PIPE open though, this can be quite complicated because it's process specific.

@benoitc what do you think ?

from circus.

benoitc avatar benoitc commented on August 24, 2024

we could have an send_input <watchername> <pid> <input> command (and its JSON equivalent), that shouldn't be a problem. People should be aware that they will use another fd at this point. I'm +1 for this.

from circus.

domenkozar avatar domenkozar commented on August 24, 2024

I assume it would use subprocess.PIPE and do p.stdin.write(input) on command?

from circus.

benoitc avatar benoitc commented on August 24, 2024

Probably yes.

from circus.

almet avatar almet commented on August 24, 2024

Anyone willing to implement that?

from circus.

ionrock avatar ionrock commented on August 24, 2024

Is there still interest in this feature? I don't mind taking a stab at it, but if there isn't much interest I'll work on something else. It sounds fun to work on, but I personally don't have a need for it.

from circus.

tarekziade avatar tarekziade commented on August 24, 2024

I don't have a use case. @iElectric please feel free to reopen and poke @ionrock if you are still interested

from circus.

domenkozar avatar domenkozar commented on August 24, 2024

@ionrock it's a feature that would make circus useful for me (to consider switching to). If you happen to do it, let me know :)

from circus.

bantl23 avatar bantl23 commented on August 24, 2024

I would also find this useful. Being able to interact via stdin would help in my test environments. I can change what the process does put listening on stdin. This could be done with signals but is a little more complicated. If this remains off the the feature path I can stick with supervisor which has this ability. I was just looking around at alternatives and circus seems like a really good alternative. I like the "top" like feel.

from circus.

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.