Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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?= Subject: kill does not work under windows To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, This small program is working well launched under cygwin, but does nothing as it's launched under windows command line. Why ? #include # 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/