⇤ ← Revision 1 as of 2014-01-01 19:48:49
Size: 205
Comment: add libraries that help to execute shell commands
|
Size: 480
Comment: add comparison
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
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 }}} |
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