469,936 Members | 2,444 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,936 developers. It's quick & easy.

Kill win32 process

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::Process::KillProcess($pid, 0);

But the ftp is still ongoing...
Any suggestions/idea?
Thanks
Carlo
Jul 19 '05 #1
0 4708

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Markus Poehler | last post: by
4 posts views Thread by iwdu15 | last post: by
4 posts views Thread by drodrig | last post: by
reply views Thread by Tom Plunket | last post: by
18 posts views Thread by =?Utf-8?B?VGhlU2lsdmVySGFtbWVy?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.