Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Kill win32 process

Reply
Thread Tools

Kill win32 process

 
 
Carlo Filippini
Guest
Posts: n/a
 
      01-07-2004
Hi
on a XP machine I start a ftp process with:

$pid = open (CMD, "ftp -in -w:1024 -s:$file_cmd $server 2>&1 |") or
die "Can't execute: $!";

In some occasions I want to kill the process, but I don't manage. I
have tried both:

kill 'QUIT', $pid;
and
Win32:rocess::KillProcess($pid, 0);

But the ftp is still ongoing...
Any suggestions/idea?
Thanks
Carlo
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with win32 Process.kill Bob Batzinger Ruby 2 07-16-2008 02:53 AM
wx.Process.Kill on Win32 Tom Plunket Python 0 11-22-2006 01:47 AM
Kill process based on window name (win32) drodrig Python 4 08-13-2006 07:37 PM
Trapping TaskManager's kill process on win32 gga Ruby 5 09-23-2005 09:52 AM
[Q] Bug in Process.kill on win32? Laurent Julliard Ruby 4 11-19-2004 09:20 PM



Advertisments