Substitute NeedRestart::UI::Dialog example with stdio.