Skip to main content

proclaunch

Start and stop long-running local background processes, detached and windowless, with process identity (pid and creation time), exclusive start reservations, readiness probes and an optional OS supervisor (Windows Task Scheduler). It implements commandport's BackgroundLauncher / Supervisor.

from commandport.domain import ProcessSpec
from proclaunch.api import launch_background, start_service, stop_service

result = launch_background(ProcessSpec(("python", "-m", "myapp")))   # a LaunchResult; never raises
if not result.ok:
    print(result.error)

A named service (ProcessSpec(name=...)) is recorded so a second start is ALREADY_RUNNING, and a stop only acts when the recorded identity still matches (a reused pid is left alone).

Tests: bind commandport.testing.FakeLauncher with proclaunch.api.use_launcher(...) and FakeSupervisors with use_supervisor(...).

Metadata

Release files for proclaunch 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for proclaunch 0.1.1
File Interpreter ABI Platform
proclaunch-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / proclaunch-0.1.1-py3-none-any.whl

Download URL proclaunch-0.1.1-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c59a743dca5aa73b1b2a882944ec8043dc3e27b408b363d094787573939b5c2c
BLAKE2b-256 checksum
How to use checksums
393246838d47bb85f502a6f3b1f8ccc98705669bd87c2cf81ebeb73ce606e8b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page