zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: Rob.Hooft@embl-heidelberg.de (Rob Hooft)
Subject: Re: kill semantics.
Date: Thu, 16 Nov 1995 14:00:08 +0100 (MET)	[thread overview]
Message-ID: <199511161300.OAA02403@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199511161119.MAA06026@nu.EMBL-Heidelberg.DE> from "Rob Hooft" at Nov 16, 95 12:19:06 pm

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


           reply	other threads:[~1995-11-16 13:17 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <199511161119.MAA06026@nu.EMBL-Heidelberg.DE>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199511161300.OAA02403@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=Rob.Hooft@embl-heidelberg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).