Popen with process-priority and window-state
Project description
subprocess_maximize
=======================
This library supplies a Popen implementation that supports process-priority and window-state properties for Windows.
On other operating systems it works like Popen.
----
Two parameters are added to Popen, `show` for the window-state, and `priority` for the process-priority.
`priority` can have any integer value from `0`(idle) to `5`(realtime), `2` being the default indicating normal priorty.
`show` can either be a value from `0` to `3`, or any of the following keywords: `hide`, `hidden`, `minimize`, `minimized`, `normal`, `maximize`, `maximized`
Any improvements are welcome.
# Usage
```
from subprocess_maximize import Popen
Popen('notepad.exe',show='maximize', priority=0)
```
Notes:
* Currently untested with Python 2.x
# Install
```
conda install subprocess_maximize
```
or
```
pip install subprocess_maximize
```
=======================
This library supplies a Popen implementation that supports process-priority and window-state properties for Windows.
On other operating systems it works like Popen.
----
Two parameters are added to Popen, `show` for the window-state, and `priority` for the process-priority.
`priority` can have any integer value from `0`(idle) to `5`(realtime), `2` being the default indicating normal priorty.
`show` can either be a value from `0` to `3`, or any of the following keywords: `hide`, `hidden`, `minimize`, `minimized`, `normal`, `maximize`, `maximized`
Any improvements are welcome.
# Usage
```
from subprocess_maximize import Popen
Popen('notepad.exe',show='maximize', priority=0)
```
Notes:
* Currently untested with Python 2.x
# Install
```
conda install subprocess_maximize
```
or
```
pip install subprocess_maximize
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for subprocess_maximize-0.9.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d57f0ee3b8bb3828f82d2e4ebba2e818c56bf487cc3191df20fe7daf7da0c9 |
|
MD5 | 2737d015817d199c98b6bd69a29a5cab |
|
BLAKE2b-256 | 404d44eb6791625088fe049a5538d9f3f6d8e7a69709338c7709b08e004688d3 |