kill does not work under windows

Christian Renoulin christian_renoulin@yahoo.fr
Mon Jun 7 07:23:00 GMT 2004


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/



More information about the Cygwin mailing list