mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
@@ -714,7 +714,7 @@ else {
|
||||
sub count_processes
|
||||
{
|
||||
my $process_count = 0;
|
||||
if ($^O eq 'MSWin32') {
|
||||
if ($gconfig{'os_type'} eq 'windows') {
|
||||
open(my $ps, '-|', 'tasklist /FO CSV') || return -1;
|
||||
while (my $line = <$ps>) {
|
||||
next if $. == 1; # Skip the header line
|
||||
|
||||
Reference in New Issue
Block a user