in reply to Re^2: end "system"
in thread end "system"
my $url="http://www.google.fr/";
my $pid = open CMD, "iceweasel -new-window '$url' |" or die $!;
print "$pid\n";
sleep 10;
my $k=kill 'KILL',$pid;
print "$k\n";
close CMD;
the process is actually killed, but the window opened doesn't shut.