This is the mail archive of the
cygwin
mailing list for the Cygwin project.
kill does not work under windows
- From: Christian Renoulin <christian_renoulin at yahoo dot fr>
- To: cygwin at cygwin dot com
- Date: Mon, 7 Jun 2004 09:23:19 +0200 (CEST)
- Subject: kill does not work under windows
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/