python使用subprocess查看进程并过滤
来源: https://stackoverflow.com/questions/6780035/how-to-run-ps-cax-grep-something-in-python
将proc1的输出当作proc2的输入来实现
1 | import subprocess |
来源: https://stackoverflow.com/questions/6780035/how-to-run-ps-cax-grep-something-in-python
将proc1的输出当作proc2的输入来实现
1 | import subprocess |