WinJobster is a library, which can start processes in a Windows job, monitor their state (dead or alive) and kill them all at once, including their children, children of their children... you know where I'm going...
Project description
WinJobster
WinJobster is a library, which can start processes in a Windows job, monitor their state (dead or alive) and kill them all at once, including their children, children of their children... you know where I'm going...
Installation
pip install WinJobster
Usage
import WinJobster
cmdline = "notepad.exe" # Path to any app, which can also start other app
job = WinJobster.Job()
print(job.is_alive) # False, no alive processes found
job.start_process(cmdline)
print(job.is_alive) # True, 1 alive process found
job.terminate() # Will close original app and everything which was started by it
job.start_process
' first argument can be path, or any string interpreted as console input (Windows will expand %PATH% values for you)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file WinJobster-2.1.0.tar.gz
.
File metadata
- Download URL: WinJobster-2.1.0.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3166fc7f31089d6746b7ccaf86cee3012d2f29ceac21873edb4bfdf83cf4f2fa |
|
MD5 | 037b660c4d3f7a1e876d5266f5f00eef |
|
BLAKE2b-256 | e95034429ac42fafd6a3921fa7857ffd6c5a316e77940264fd58052e8cbdd94c |
File details
Details for the file WinJobster-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: WinJobster-2.1.0-py3-none-any.whl
- Upload date:
- Size: 41.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869124c7f3c96d16fe5f7ad0e5a972f97468fa694eecdc91803ef21477bd50a7 |
|
MD5 | 7af90388a9e035b6bba2764bfd359757 |
|
BLAKE2b-256 | 96dbab08cbe78cc60aae06df6a8a46d3c4818dfd35a36ae15bd335011696fd91 |