Comments (7)
On 04.10.2011 20:33, Daniel Fort wrote:
Hi.
Please add a way to send signals to running commands.
For example when you do ping www.google.com there's no way to terminate it. Only killall ping.Thanks.
What's wrong with doing "ps ux" and then "kill 12345"?
We can't even handle Ctrl-C due to how does IRC work...
from znc.
If ZNC started the process, it can signal it, surely?
Presumably, if you started a process via ZNC's shell module, you did so because you didn't want to SSH to the box in question and use a real shell; so being able to signal the processes you created does sound reasonably sane.
(Personally, I don't use the shell module, but thought I'd add my feedback)
from znc.
On 04.10.2011 21:21, David Precious wrote:
If ZNC started the process, it can signal it, surely?
Sure, any your process (including ZNC) can signal any your process
(including the one which shell module started).
Presumably, if you started a process via ZNC's shell module, you did so because you didn't want to SSH to the box in question and use a real shell; so being able to signal the processes you created does sound reasonably sane.So, what is suggested way to send the signal, and how is it easier than
running pkill through the same shell module?
from znc.
So, what is suggested way to send the signal, and how is it easier than running pkill through the same shell module?
Yeah, true, you could run pkill yourself through the same module easily enough.
I was thinking of a "signal" command which would deliver the requested signal (via kill()
) to the given PID (or, perhaps, by default to the PID of the last command started via the shell module). You're right though, just executing pkill takes care of it.
from znc.
I know about ps ux & kill way. Just thought such thing should be more convinient.
from znc.
sorry. wrong button :)
from znc.
On 05.10.2011 03:23, Daniel Fort wrote:
I know about ps ux& kill way. Just thought such thing should be more convinient.
The convenient way is to press ^C.
But since IRC client won't send that to server, it's impossible to use
it here.
If to invent a new way to do that, it will be even less convenient than
running kill/pkill, as it would be specific to ZNC shell module.
No another shell has that, as they just use simple ^C
from znc.
Related Issues (20)
- Crypt Module - IRC Clients that do not keep "sent" text and instead read the IRC response will not display properly HOT 2
- Problem with znc HOT 3
- Problem with rejoin after kick
- znc+fish won't encrypt own messages
- Add OpenID Connect support HOT 3
- Add some way to bypass channel mode cache (or just remove it) HOT 6
- Feature request: ability to disable the "The channel could not be joined, disabling it" behavior HOT 1
- Client connecton stalled after CAP ACK HOT 3
- Portainer Add Template > ZNC - no login
- Add Security Headers to webadmin HOT 5
- Cannot load python modules via webadmin w/ Debian 12/Python 3.11.x/znc-1.9.x HOT 2
- can't remove some channels from chansaver HOT 5
- Reconnecting too fast HOT 6
- Missing `RPL_TOPICWHOTIME` from server results in incorrect `RPL_TOPICWHOTIME` sent to client
- Update the Copyright notice
- Perform /timer unknown command HOT 3
- Watch module ZNC HOT 7
- Missing : in PASS command
- Likely race condition in build system related to `generated.tar.gz` HOT 3
- identd and identfile doeset works HOT 10
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 znc.