zsh-workers
 help / color / mirror / code / Atom feed
* Re: kill semantics.
       [not found] <199511161119.MAA06026@nu.EMBL-Heidelberg.DE>
@ 1995-11-16 13:00 ` Zoltan Hidvegi
  0 siblings, 0 replies; only message in thread
From: Zoltan Hidvegi @ 1995-11-16 13:00 UTC (permalink / raw)
  To: Rob Hooft

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-11-16 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <199511161119.MAA06026@nu.EMBL-Heidelberg.DE>
1995-11-16 13:00 ` kill semantics Zoltan Hidvegi

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).