X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=46d2b1d38bd4d450f0f95b0fbda2e7b37281f274;hb=8e14149148baba63ce5ae2b95aacda8ab6dd0d87;hp=2c49fabe07cb7422ef8536efb981a5fce5c980c5;hpb=96f67f30b496aafcb4276f9fe9cf0fa9f572318b;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 2c49fabe..46d2b1d3 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -1379,7 +1379,7 @@ sub spawn_cmd no strict 'refs'; # just behave normally if something has set the "one-shot" _nospawn in the channel - if ($self->{_nospawn}) { + if ($self->{_nospawn} || $main::is_win == 1) { eval { @out = $cmdref->(@$args); }; if ($@) { DXDebug::dbgprintring(25);