X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fwx.pl;h=807b88fdbaa892434ef150158677a2b769ca4322;hb=f2c90f82509ae2be33216ebaed3bc9f8ea3f5f80;hp=6b43268e89be34cc12c15ad1509dfa5f7dfda131;hpb=5fc4f15ca36b6926fac4a8b33b3944cc1f7cef49;p=spider.git diff --git a/cmd/show/wx.pl b/cmd/show/wx.pl index 6b43268e..807b88fd 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("show/wx $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, 'ann', 'WX']); +if ($self->{_nospawn}) { + @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);