Check the command line execution context