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 hashes)
Built Distribution
Close
Hashes for subprocess_pipe-0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cb812da36943e4761e8f8ef906b2ba17d19b850d1733cae352a5bf125e6e2c1 |
|
MD5 | 3669c7ab5e9403e787b1bfba6e2a507f |
|
BLAKE2b-256 | b664911092ef5827c94829bb44ecb0ae39f59915c8a095fb36782924f19f2f06 |