Redirecting subprocess call stderr to /dev/null

前端 未结 0 1809
别那么骄傲
别那么骄傲 2021-02-06 06:01

I have a piece of code that does this

retcode = subprocess.call([Vrf.SwitchVrf, tid, vrf], stdout=subprocess.STDOUT, stderr=FNULL)

I import os an

相关标签:
回答
  • 消灭零回复
提交回复
热议问题