我如何使用Python来确定当前正在运行的程序.我在Windows上.
python windows process
我需要从批处理作业中启动2个后台进程,然后等待它们.Unix shell模拟是:
myprocess1 -flags1 & pid1=$! myprocess2 -flags2 & pid2=$! wait ${pid1} wait ${pid2}
有任何想法吗?
windows batch-file windows-shell
windows ×2
batch-file ×1
process ×1
python ×1
windows-shell ×1