Improve M$ Windows compatibility
[spider.git] / cmd / show / isolate.pl
index cefae9dc6dfeab77d6cd30cfdd708002fd6e8e9d..65b636d49539cd4d5a2bb7f7cbcbab388f7fde8b 100644 (file)
@@ -17,7 +17,7 @@ sub handle
 
        my @out;
 
-       if ($self->{_nospawn}) {
+       if ($self->{_nospawn} || $main::is_win == 1) {
                return (1, generate($self));
        } else {
                return (1, $self->spawn_cmd("show/isolate $line", sub { return (generate($self)); }));