close command line window. add silent option