add DXCommand::spawn_cmd and convert suitable cmds
[spider.git] / cmd / show / rcmd.pl
index ef45b6c6b3aff3412e8147626995e3843760c665..57cfe0969a8ce0274af19e550784f89ddbfe5ab3 100644 (file)
@@ -33,5 +33,7 @@ while ($f = shift @f) {                 # next field
 $to = 20 unless $to;
 $from = 0 unless $from;
 
-@out = DXLog::print($from, $to, $main::systime, 'rcmd', $who);
+@out = $self->spawn_cmd(\&DXLog::print, args => [$from, $to, $main::systime, 'rcmd', $who]);
+
+#@out = DXLog::print($from, $to, $main::systime, 'rcmd', $who);
 return (1, @out);