Thanks for making it clear now. But why does all other console commands work as command line parameters, but freeze doesn't? I'm not surprised that people got confused.
+freeze, as well as many other console commands need a map running to work. If not they are unable to do anything. If you start the game with ZDoom +summon DoomImp you won't get an imp as well.