This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]