运行环境:windows
语言:python3.5+
项目中遇到启动某个程序时,发现端口号被占用导致启动失败的情况(可能是自己的程序得到残留进程),占用端口的进程可能是这个程序的子进程,单杀子进程无用,于是写了这个脚本,利用cmd命令查找占用指定端口的进程pid,并通过此pid查找其父进程pid,尝试杀死该进程和其父进程,在程序初始化时调用,可以保障程序正常启动。
杀死占用指定端口号进程和其父进程的python脚本
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.