| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: | <20040607072319.44560.qmail@web61302.mail.yahoo.com> |
| Date: | Mon, 7 Jun 2004 09:23:19 +0200 (CEST) |
| From: | =?iso-8859-1?q?Christian=20Renoulin?= <christian_renoulin AT yahoo DOT fr> |
| Subject: | kill does not work under windows |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
Hi,
This small program is working well launched under
cygwin, but does nothing as it's launched under
windows command line. Why ?
#include <signal.h>
# use (if the process 1019 is in progress) : killer
1019
int main(int argc, char **argv)
{
char temp[200];
sprintf(temp, "kill -9 %s", argv[1]);
system(temp);
}
I also tried the force option of kill, but it is not
recognized !
> kill -f 1019
bash: kill: f: invalid signal specification
Chris, french guy.
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |