Skip to main content

Execute apps using subprocess ([in]visible) + regedit.exe path search

pip install subprocreg

Tested against Windows 10 / Python 3.10 / Anaconda

    Args:
        file (str): The file to be opened by the application.
        path (str): The path to the application executable (file path/or reg path)
        exit_keys (str, optional): The key combination to exit the application. Defaults to "ctrl+alt+o".
        add_options (tuple, optional): Additional options to pass to the application. Defaults to ().
        headless (bool, optional): Whether to run the application in headless mode. Defaults to True.
        **kwargs: Additional keyword arguments to pass to the subprocess.Popen() function.

    Returns:
        subprocess.Popen: A Popen object representing the executed application process.
    Examples:
        from subprocreg import execute_app
        proc=execute_app(
            file=r"F:\4 Promille - Oi the Meeting.mp3",
            path=(r"HKEY_CLASSES_ROOT\Directory\shell\AddToPlaylistVLC", "Icon"),
            exit_keys="ctrl+q",
            add_options=(
                "--input-repeat=0",
                "-Idummy",
                "--play-and-exit",
                "--qt-minimal-view",
            ),
            headless=True,

        )
        proc=execute_app(
            file=r"C:\ProgramData\anaconda3\envs\dfdir\gracefully_kill.py",
            path=r"C:\Windows\System32\notepad.exe",
            exit_keys="ctrl+b",
            add_options=(),
            headless=False,

        )

Metadata

Release files for subprocreg 0.10

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

Source distribution (sdist)

Source distribution for subprocreg 0.10
File Size Uploaded Provenance Actions
subprocreg-0.10.tar.gz 4.1 kB Without provenance Details for subprocreg-0.10.tar.gz

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / subprocreg-0.10.tar.gz

Download URL subprocreg-0.10.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1597e9513d1eb449e834cf4762d70bcff98f31a0e46718f7cdc827a5ab0594e1
BLAKE2b-256 checksum
How to use checksums
3e1a9a9559e069bdd322edb4bf8d6fe75be39117c515de315046aee9a7e13447
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / subprocreg-0.10-py3-none-any.whl

Download URL subprocreg-0.10-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0303d70ba9f949e1a4d4b8438ad61cb5f7f900196f8ac5eadec44228d975d662
BLAKE2b-256 checksum
How to use checksums
0c221e96fce791d5b3194e3e027ab73e6cafe0a8f324debb035abae41b17672c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for subprocreg 0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

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