Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: kill semantics.
- X-seq: zsh-workers 618
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: Rob.Hooft@xxxxxxxxxxxxxxxxxx (Rob Hooft)
- Subject: Re: kill semantics.
- Date: Thu, 16 Nov 1995 14:00:08 +0100 (MET)
- In-reply-to: <199511161119.MAA06026@xxxxxxxxxxxxxxxxxxxxx> from "Rob Hooft" at Nov 16, 95 12:19:06 pm
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
- Sender: hzoli@xxxxxxxxxx
Rob Hooft wrote:
> This seems to work from ZSH as well: "kill -0 PID" does the check
> fine. But it is not documented. Which makes me think: is this system
> specific?
This should work on Unix systems. But it is not related to zsh. If one ports
zsh once to an other OS, it may stop working. It is az well know way to
validate lock pid's used in other non-zsh scripts. Zsh kill si just an
interface to kill(2), peopel should consult this manpage for details.
E.g. kill -sig -pgid works for killing process groups, kill -sig -1 kills all
processes. Killing pid 0 kill the current process group.
Bye,
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author