(CNN) -

Bankruptcy judge gives Hostess Brands preliminary OK to shut operations, pending final court hearing next week.