hide console window for -x, but not always for -i