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 details)
Built Distribution
File details
Details for the file suicideproc-0.10.tar.gz
.
File metadata
- Download URL: suicideproc-0.10.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69a9248c74ef0d907af42078326b9064242c25f50d796689e626ddc020391f9d |
|
MD5 | 71799f6ae5010c2d33313f557a37a75f |
|
BLAKE2b-256 | 848742ff47c43287c5b2bf670e746307152285bfccc485ffe6a71a20ea648b9a |
File details
Details for the file suicideproc-0.10-py3-none-any.whl
.
File metadata
- Download URL: suicideproc-0.10-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b81b10b996ece6e6f2c1fe6f7010ee1e9e99465bcd7c8753360b51de0b00129 |
|
MD5 | b21aa2d181ea90add90eacadbe5fc0e1 |
|
BLAKE2b-256 | 23302d5dabda69d653397cfd798f57d74ff771a79a59275f5bbfcd90ade8b67f |