Comments (9)
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.
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.
I assume it would use subprocess.PIPE and do p.stdin.write(input) on command?
from circus.
Probably yes.
from circus.
Anyone willing to implement that?
from circus.
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.
I don't have a use case. @iElectric please feel free to reopen and poke @ionrock if you are still interested
from circus.
@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.
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)
- socket.gaierror when specifying a custom syslog endpoint HOT 1
- Using circus library, stdout_stream and stderr_stream do not work
- circusctl unable to set selected options
- Alternative ways to discuss circus library HOT 1
- Fallback for os env vars HOT 1
- Plugin HttpObserver broken since 0.17 because of change in AsyncHTTPClient from Tornado 5
- Trouble accessing web dashboard
- util.py: load_virtualenv broken with Python 3.10
- Hang caused by circus and psutil using conflicting methods to identify a process
- a pypy venv issue
- arbiter is already running arbiter_start_watchers command HOT 2
- Add Python3.9 and PyPy to support list HOT 3
- Copying environment variables with dollar sign + capital letters
- Make a new release supporting Python 3.10 HOT 3
- Move away from `nose` as the testing framework
- Add official support for Python 3.10 HOT 1
- Adopt PEP 621
- Consider removing `papa` dependency HOT 1
- Move `tests` outside of the main package HOT 2
- ConflictError arbiter is already running arbiter_start_watchers command HOT 1
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 circus.