Issue a DS9 command, raising errors as appropriate.
- Parameters:
- cmd
str, optional Command to execute.
- trap
bool, optional Trap errors.
- flush
bool, optional Flush the output.
- silent
bool, optional Do not print trapped error messages.
- frame
int, optional Frame number on which to execute command.
- get
bool, optional Return xpa response.