Pipe commands with subprocess
Project description
Pipe commands with subprocess
Update 15.11.
added: pipe_commands_shelltrue / commands can be passed as strings
print(pipe_commands_shelltrue('ls',"grep .*py$","grep .*_.*").stdout.decode('utf-8', 'ignore'))
$pip install subprocess-pipe
from subprocess_pipe import pipe_commands
pa = pipe_commands(["ls"], ["grep", r".*py$"], ["grep", r"^w"])
print(pa.stdout.decode('utf-8'))
#output:
win_debugger.py
windowcapture.py
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
subprocess_pipe-0.11.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file subprocess_pipe-0.11.tar.gz
.
File metadata
- Download URL: subprocess_pipe-0.11.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975bbdca520ea189c555bee961cd3f20dedbdee4a7b7aaefb0e9611661e97b2c |
|
MD5 | fc6a657899501c7dd324b83bf8ca7040 |
|
BLAKE2b-256 | 8a63084f009faca45a3df203481d83efbed6d2ff52f2452dd428b20550d423f8 |
File details
Details for the file subprocess_pipe-0.11-py3-none-any.whl
.
File metadata
- Download URL: subprocess_pipe-0.11-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cb812da36943e4761e8f8ef906b2ba17d19b850d1733cae352a5bf125e6e2c1 |
|
MD5 | 3669c7ab5e9403e787b1bfba6e2a507f |
|
BLAKE2b-256 | b664911092ef5827c94829bb44ecb0ae39f59915c8a095fb36782924f19f2f06 |