The snippet of python subprocess