NRAO Home > CASA > CASA Cookbook and User Reference Manual
1.4.4.2 Aborting Asynchronous Tasks

To abort a task while it is running in the background, use the tm.abort method, again with the task handle id as the argument. For example,

CASA <12>: handle = mosaic()  
...  
CASA <13>: tm.abort(handle)

will abort the task if it is running.

If this does not work, try CNTL-Z followed by a kill -9 <PID> for the appropriate process ID. See § 1.3.5 for more on these methods to abort CASA execution.

ALERT: Currently, this is only available with the tm tool. We are working on a taskmanager task.


More information about CASA may be found at the CASA web page

Copyright © 2010 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search