Skip to main content

easy to use `Popen`

Project description

k3proc

Build Status Python package Documentation Status Package

easy to use Popen

k3proc is a component of pykit3 project: a python3 toolkit set.

k3proc is utility to create sub process.

Execute a shell script::

>>> returncode, out, err = k3proc.shell_script('ls / | grep bin')

Run a command::

# Unlike the above snippet, following statement does not start an sh process.
returncode, out, err = k3proc.command('ls', 'a*', cwd='/usr/local')

Install

pip install k3proc

Synopsis

>>> returncode, out, err = k3proc.shell_script('ls / | grep bin')

Author

Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Copyright and License

The MIT License (MIT)

Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

k3proc-0.2.13.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

k3proc-0.2.13-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file k3proc-0.2.13.tar.gz.

File metadata

  • Download URL: k3proc-0.2.13.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for k3proc-0.2.13.tar.gz
Algorithm Hash digest
SHA256 15c72b2a1ce2f617c89725304ee6e78c9258b71d8722d69f89ee3ffe0e103dd1
MD5 b2b6b412ceec3f6d64c16a3da8acc031
BLAKE2b-256 48082d8f3057d94655a2e87511decba4d980b832f5de393edcdd205011623245

See more details on using hashes here.

File details

Details for the file k3proc-0.2.13-py3-none-any.whl.

File metadata

  • Download URL: k3proc-0.2.13-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for k3proc-0.2.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a90b4bca1db0c5c7652e269dfe281e2dff16c70e9bccd53412b72e845f9adca6
MD5 7e14378ca1ce9cbf642c8c09184fd76d
BLAKE2b-256 e601d2d677e37d83d4b673b92850e5efcce7be5d08c8177324e6decc3d7d8ba5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page