add cmd line to forkcall stats
[spider.git] / cmd / show / announce.pl
index bd6e05ae7fcde280390003db3a02e2dd129091e6..77811449638fd01210511bb03119d8b33dd17ef3 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 1998 - Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 my $self = shift;
 
@@ -34,5 +34,7 @@ while ($f = shift @f) {                 # next field
 $to = 20 unless $to;
 $from = 0 unless $from;
 
-@out = DXLog::print($from, $to, $main::systime, '^ann', $who);
+@out = $self->spawn_cmd("show/announce $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, 'ann', $who]);
+       
+#@out = DXLog::print($from, $to, $main::systime, 'ann', $who);
 return (1, @out);