add cmd line to forkcall stats
[spider.git] / cmd / show / announce.pl
index 9ec0111b3cc491671ff4691a4fbf71d540fd5faa..77811449638fd01210511bb03119d8b33dd17ef3 100644 (file)
@@ -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);