X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fwx.pl;h=62f04b180443a38061a7681c5e1e820068a8a2e0;hb=dc9a699965ba5a2e347a72d4ba8b0612f8adc63e;hp=81a81bf7d3b35131f546fc0a04f207c367c192bc;hpb=761aaa75e6522761e09c819aa446ee1777bdb3db;p=spider.git diff --git a/cmd/show/wx.pl b/cmd/show/wx.pl index 81a81bf7..62f04b18 100644 --- a/cmd/show/wx.pl +++ b/cmd/show/wx.pl @@ -28,7 +28,10 @@ while ($f = shift @f) { # next field $to = 20 unless $to; $from = 0 unless $from; -@out = $self->spawn_cmd(\&DXLog::print, args => [$from, $to, $main::systime, 'ann', 'WX']); +if ($self->{_nospawn} || $main::is_win == 1) { + @out = $self->spawn_cmd("show/wx $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, 'ann', 'WX']); +} else { + @out = DXLog::print($from, $to, $main::systime, 'ann', 'WX'); +} -#@out = DXLog::print($from, $to, $main::systime, 'ann', $who); return (1, @out);