Index: trunk/ippTasks/chip.pro
===================================================================
--- trunk/ippTasks/chip.pro	(revision 19405)
+++ trunk/ippTasks/chip.pro	(revision 19421)
@@ -76,14 +76,16 @@
 
   task.exec
+    $run = chiptool -pendingimfile -limit 20
     if ($DB:n == 0)
       option DEFAULT
-      command chiptool -pendingimfile -limit 20
     else
       # save the DB name for the exit tasks
       option $DB:$chip_DB
-      command chiptool -pendingimfile -limit 20 -dbname $DB:$chip_DB
+      $run = $run -dbname $DB:$chip_DB
       $chip_DB ++
       if ($chip_DB >= $DB:n) set chip_DB = 0
     end
+    add_poll_args run
+    command $run
   end
 
@@ -205,14 +207,16 @@
 
   task.exec
+    $run = chiptool -pendingcleanuprun -limit 20
     if ($DB:n == 0)
       option DEFAULT
-      command chiptool -pendingcleanuprun -limit 20
     else
       # save the DB name for the exit tasks
       option $DB:$chip_cleanup_DB
-      command chiptool -pendingcleanuprun -limit 20 -dbname $DB:$chip_cleanup_DB
+      $run = $run -dbname $DB:$chip_cleanup_DB
       $chip_cleanup_DB ++
       if ($chip_cleanup_DB >= $DB:n) set chip_cleanup_DB = 0
     end
+    add_poll_args run
+    command $run
   end
 
