delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/19/20:21:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.0.9.2.20030920021448.00b919a0@pop01.datazug.ch>
X-Sender: (Unverified)
Date: Sat, 20 Sep 2003 02:28:57 +0200
To: cygwin AT cygwin DOT com
From: Jean-Pierre Praz <jpraz AT dplanet DOT ch>
Subject: /bin/kill version 1.14
Mime-Version: 1.0

hello

after an update of a few cygwin components, i have now the problem that 
some scripts that use 'kill -9' or 'kill -INT' don't work any more. they 
produce the following output:


Usage: kill [-f] [-signal] [-s signal] pid1 [pid2 ...]
        kill -l [signal]
Send signals to processes

  -f, --force     force, using win32 interface if necessary
  -l, --list      print a list of signal names
  -s, --signal    send signal (use kill --list for a list)
  -h, --help      output usage information and exit
  -v, --version   output version information and exit



the same output appears when i execute a '/bin/kill' command. but when i 
execute simply 'kill' (without the leading /bin/) the result is different 
and looks like this:


kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l
[sigspec]


if i change the appropriate line in a script to 'kill -s 9' instead of 
'kill -9' it works. but i can't change all the scripts. what could be the 
reason for this behaviour after the few updates i did? why does 'kill' not 
produces the same output as '/bin/kill'? i wondered if there were two 
versions of kill in different paths, but i only found one of them....

thank for ideas and help
jpp


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019