从Bat文件调用Python并获取返回码
发布于 2021-01-29 17:13:17
我正在寻找一种从批处理文件调用python脚本并从python脚本获取返回代码的方法。我知道令人困惑,但它基于当前正在使用的系统。我会重新编写它,但是这样会快很多。
所以:
Bat ---------------------> Python
* call python file *
Bat <--------------------------------- Python
* python does a load of work *
* and returns a return code *
关注者
0
被浏览
265
1 个回答