ShellRun
This wiki is in the process of being archived due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies. Edits are discouraged.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.
Page status - development of a library (public domain) to run commands through shell is moved to https://bitbucket.org/techtonik/shellrun along with detailed notes, because it is easier to sync notes with code in repository.
Libraries to run command through system shell, because subprocess suxx:
subprocess deadlock example:
- TODO
API Comparison
Running:
r = envoy.run('command')
r = shell_command.shell_call('command')Return code, https://en.wikipedia.org/wiki/Exit_status
# subprocess p.returncode # envoy r.status_code # shell_command r