是否可以使用Spring Batch来运行Python程序? Jython 不是一个选项(因为依赖于许多 Python 库)。
最佳答案
SystemCommandTasklet
允许您执行任何您想要的 shell 命令,如果您愿意,还可以包括 python 脚本。您可以在此处阅读文档:http://docs.spring.io/spring-batch/apidocs/org/springframework/batch/core/step/tasklet/SystemCommandTasklet.html
关于python - Spring批处理运行python代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24162312/