use os.devnull
flush before close stdout
upddate readme