https://github.com/xonsh/slug
A snail without its shell
https://github.com/xonsh/slug
posix processes xonsh xonsh-dev
Last synced: 3 months ago
JSON representation
A snail without its shell
- Host: GitHub
- URL: https://github.com/xonsh/slug
- Owner: xonsh
- License: bsd-3-clause
- Created: 2017-02-05T22:23:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T08:39:23.000Z (about 1 year ago)
- Last Synced: 2024-10-24T15:38:44.210Z (8 months ago)
- Topics: posix, processes, xonsh, xonsh-dev
- Language: Python
- Homepage:
- Size: 85 KB
- Stars: 15
- Watchers: 9
- Forks: 2
- Open Issues: 15
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
slug
====.. image:: https://badges.gitter.im/xonsh/xonsh.svg
:alt: Join the chat at https://gitter.im/xonsh/xonsh
:target: https://gitter.im/xonsh/xonsh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge.. image:: https://travis-ci.org/xonsh/slug.svg?branch=master
:target: https://travis-ci.org/xonsh/slug.. image:: https://ci.appveyor.com/api/projects/status/github/xonsh/slug?svg=true
:target: https://ci.appveyor.com/project/xonsh/slug.. image:: https://landscape.io/github/xonsh/slug/master/landscape.svg?style=flat
:target: https://landscape.io/github/xonsh/slug/master
:alt: Code Health.. image:: https://codecov.io/gh/xonsh/slug/branch/master/graph/badge.svg
:target: https://codecov.io/gh/xonsh/slugThe underlying process management library for `xonsh`_.
Example
-------.. code:: python
with ProcessGroup() as pg:
pipe = Pipe()
spam = pg.add(Process(['spam'], stdout=pipe.side_in))
eggs = pg.add(Process(['eggs'], stdin=pipe.side_out))
pg.start()
pg.join().. _xonsh: http://xon.sh/
See also
--------* `duct.py `_ with `gotchas `_ - a library for running child processes.