Index: trunk/ippTasks/detrend.process.pro
===================================================================
--- trunk/ippTasks/detrend.process.pro	(revision 10692)
+++ trunk/ippTasks/detrend.process.pro	(revision 10723)
@@ -57,5 +57,7 @@
 
   task.exec
-    command dettool -toprocessedimfile -simple -limit {$DetrendProcessImfileFail + 20}
+    # XXX dettool needs -limit command
+    # command dettool -toprocessedimfile -simple -limit {$DetrendProcessImfileFail + 20}
+    command dettool -toprocessedimfile -simple
   end
 
@@ -91,14 +93,10 @@
   # error
   task.exit    default
-    if ($VERBOSE) 
-      echo       "detrend.process: failure"
-    end
+    showcommand failure
   end
 
   # operation times out?
   task.exit    timeout
-    if ($VERBOSE) 
-      echo       "detrend.process: timeout"
-    end
+    showcommand
   end
 end
@@ -166,7 +164,5 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE)
-      echo "failure detrend_process_imfile.pl $options:0"
-    end
+    showcommand failure
     queuepush DetrendProcessImfiles -replace -key 1:3:5 "FAIL $options:0"
     $DetrendProcessImfileFail ++
@@ -175,7 +171,5 @@
   # operation times out?
   task.exit    timeout
-    if ($VERBOSE)
-      echo "timeout detrend_process_imfile.pl $options:0"
-    end
+    showcommand timeout
     queuepush DetrendProcessImfiles -replace -key 1:3:5 "TIMEOUT $options:0" 
     $DetrendProcessImfileFail ++
@@ -197,5 +191,6 @@
 
   task.exec
-    command dettool -toprocessedexp -simple -limit {$DetrendProcessExpFail + 20}
+    # command dettool -toprocessedexp -simple -limit {$DetrendProcessExpFail + 20}
+    command dettool -toprocessedexp -simple
   end
 
@@ -229,14 +224,10 @@
   # error
   task.exit    default
-    if ($VERBOSE)
-      echo       "detrend.process: failure"
-    end
+    showcommand failure
   end
 
   # operation times out?
   task.exit    timeout
-    if ($VERBOSE)
-      echo       "detrend.process: timeout"
-    end
+    showcommand timeout
   end
 end
@@ -300,7 +291,5 @@
   # default exit status
   task.exit    default
-    if ($VERBOSE)
-      echo "failure for detrend_process_exp.pl: $options:0"
-    end
+    showcommand failure
     queuepush DetrendProcessExposures -replace -key 1:2:4 "FAIL $options:0"
     $DetrendProcessExpFail ++
@@ -309,7 +298,5 @@
   # operation times out?
   task.exit    timeout
-    if ($VERBOSE)
-      echo "failure for detrend_process_exp.pl: $options:0"
-    end
+    showcommand timeout
     queuepush DetrendProcessExposures -replace -key 1:2:4 "TIMEOUT $options:0"
     $DetrendProcessExpFail ++
