Skip to main content

Executes subprocesses without console (Windows), reads stdout/stderr

pip install subprocesshidden

from subprocesshidden import Popen
import os

os.chdir("c:\\windows")
p1 = Popen("ls -la", timeout=1, shell=True)

p2 = Popen("dir /s", timeout=3, shell=True) # tasks are killed with taskkill

p3 = Popen("dir /xsd")


print(p1.stdout_lines)
print(p2.stdout_lines)
print(p3.stdout_lines)
print(p3.stderr_lines)
print(p2.stderr_lines)
print(p1.stderr_lines)

print(p1.stdout)
print(p2.stdout)
print(p3.stdout)
print(p3.stderr)
print(p2.stderr)
print(p1.stderr)

Metadata

Release files for subprocesshidden 0.11

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

Source distribution (sdist)

Source distribution for subprocesshidden 0.11
File Size Uploaded Provenance Actions
subprocesshidden-0.11.tar.gz 4.9 kB Without provenance Details for subprocesshidden-0.11.tar.gz

Built distribution (wheel)

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

Total release size: 11.1 kB

Release files / subprocesshidden-0.11.tar.gz

Download URL subprocesshidden-0.11.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fdc895e8ceaa6067399652692a1d51279da8f44de84e879432645d4bd64dbd8b
BLAKE2b-256 checksum
How to use checksums
ebc47f60fcfc4009824c238784d5bde8e6fa98968766e142a762c22b6b9ad7d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / subprocesshidden-0.11-py3-none-any.whl

Download URL subprocesshidden-0.11-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
510cf551ee5d5a948f4e9171243f9dc999d6c3f9e992e97e88bb9229460c05b8
BLAKE2b-256 checksum
How to use checksums
886edbe22bce3d3b6b9227f68f2678d2fe45baac62716fd7e8b47330f56e770e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for subprocesshidden 0.11

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.11 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