Kills the current process by using taskkill.exe
Project description
Kills the current process by using 'taskkill.exe'
pip install suicideproc
Tested against Windows 10 / Python 3.10 / Anaconda
Terminates the current process in a hidden manner.
This function terminates the current process by using the 'taskkill.exe'
command in a subprocess. The termination is performed in a hidden manner,
without displaying any windows or prompts to the user.
Note:
This function is intended for special use cases and should be used with caution.
Terminating a process abruptly can lead to unexpected results and data loss.
Raises:
FileNotFoundError: If the 'taskkill.exe' command is not found on the system.
Example:
from suicideproc import commit_suicide
commit_suicide()
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
suicideproc-0.10.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for suicideproc-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b81b10b996ece6e6f2c1fe6f7010ee1e9e99465bcd7c8753360b51de0b00129 |
|
MD5 | b21aa2d181ea90add90eacadbe5fc0e1 |
|
BLAKE2b-256 | 23302d5dabda69d653397cfd798f57d74ff771a79a59275f5bbfcd90ade8b67f |