While writing the script, Jeremi Przybora had originally director Tadeusz Chmielewski in mind. The latter, however, refused to direct it as he thought the screenplay was a good material for a theatre play, but not necessarily for a film. Only after another director Janusz Morgenstern also refused to make the movie, did Kazimierz Kutz finally agree to stand behind the camera.