write message dealing with command line execution to cout