Executes the command and invokes the callback with the resulting message.
Function to call with the message when the command completes