在python 中一次执行多条shell 命令:
os.system('source /opt/py3/bin/activate && cd /opt/Vcert && python /opt/Vcert/myVcert/vul.py >> /log/vul.log 2>&1')
版权声明:本文为longe20111104原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
在python 中一次执行多条shell 命令:
os.system('source /opt/py3/bin/activate && cd /opt/Vcert && python /opt/Vcert/myVcert/vul.py >> /log/vul.log 2>&1')