Improve M$ Windows compatibility
[spider.git] / cmd / show / hfstats.pl
index 1964a23ab60550f9023db22feb74ac22ac9ed3be..29568f4b50b6f1b51a1f4c45d06d6f6301bc5e9a 100644 (file)
@@ -57,7 +57,7 @@ sub handle
 #      @out = $self->spawn_cmd("show/hfstats $line", sub {
 #                                                      });
 
-       if ($self->{_nospawn}) {
+       if ($self->{_nospawn} || $main::is_win == 1) {
                return (1, generate($self, $days, $now, $today));
        }
        else {