This is a network security issue, and not a problem.
If you're referring to the cmd window closing very quickly, that's normal behavior for a command-line program started from outside a cmd window: the spawned cmd window will close when the program's finished.