Process command