Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pykit3/k3proc

Repository files navigation

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

About

easy to use `Popen`

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

AltStyle によって変換されたページ (->オリジナル) /