can a python script know that another instance of the same script is running… and then talk to it?

前端 未结 4 1555
情歌与酒
情歌与酒 2021-02-02 01:23

I\'d like to prevent multiple instances of the same long-running python command-line script from running at the same time, and I\'d like the new instance to be able to send data

4条回答
提交回复
热议问题