X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=46d2b1d38bd4d450f0f95b0fbda2e7b37281f274;hb=d41556c82d7af6d68d9d659bd486be775f82295d;hp=2c49fabe07cb7422ef8536efb981a5fce5c980c5;hpb=378cbf24f1b918e78d8b93c9e7ce3cf46fe28ec7;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);