Implemented handling of command launching.