con / duct

A helper to run a command, capture stdout/stderr and details about running
https://pypi.org/project/con-duct/
MIT License
4 stars 2 forks source link

Add a test which `cp`s `__main__.py` as `duct` and executes basic test/run #187

Closed yarikoptic closed 1 month ago

yarikoptic commented 2 months ago

While traveling I recalled why I wanted to keep duct (but not necessarily duct-suite) in a single file: to ease deployment/use as part of larger "runners on remote location". E.g. to replace "built-in" functionality within reproman from which we took the idea of capturing stdout/stderr. For that we need a basic Python (no depends) script easy to scp and run.

For the same reason it should get shebang !#/usr/bin/env python3