A launcher for Windows that resides in the taskbar for managing .bat scripts.
Project description
tray-launcher
A launcher for Windows that resides in the taskbar for managing .bat scripts.
Installation
Install tray-launcher with pip install tray-launcher
.
Usage
tray-launcher comes with a command-line interface. Use launcher -h
to learn more.
To get started, run launcher run
, and a small icon will show on the taskbar.
Before running any scripts from tray-launcher, they need to be loaded. This can be done by clicking the option Load New Script(s) in the context menu. Alternatively, run launcher load [full path to the script]
. Only .bat files are accepted.
To run a script, select it in the Start a Script submenu from the context menu, or click [View in Directory] to see all loaded scripts from a file dialogue, or run launcher start [script name]
.
tray-launcher listens to port 127.0.0.1:7686
. If this port is not available, create the environment variable TRAY_LAUNCHER_PORT
and set its value to an available port number.
A log for the tray-launcher and associated .bat scripts will be saved under %USERPROFILE%\.tray_launcher\logs
.
If tray-launcher crashes, scripts started with tray-launcher will not terminate.
There is an expected delay when executing launcher run
.
When the tray-launcher is run in a conda
environment, scripts started with tray-launcher will run in the same conda
environment. When a venv
environment is used, scripts may not inherit the environment, and the user may need to add the activate command in a script if it should be run in the venv
.
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
Hashes for tray_launcher-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa791de4cfc325772ad43dea79ac40c05dfbeef25a654aa71fe633733207afd5 |
|
MD5 | 6e80094472b733f9ae970c8376f84e83 |
|
BLAKE2b-256 | 2030da8eec4bd118dc973300d87915ca38f8e8da69c75d56e928762849586056 |