commit | 18e9320fa189d235b03b10ce48e125ccc26d13a0 | [log] [tgz] |
---|---|---|
author | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | Tue Sep 21 16:38:17 2021 +0900 |
committer | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | Tue Sep 21 17:42:42 2021 +0900 |
tree | d7af8377d2f1ae38d54c5702388b375f6c117635 | |
parent | 32a7d3f74c3c9452a08d1681d8e192607fdbeb81 [diff] |
plugin.py: Harden the Plugin.call() and Plugin.check_output() APIs These APIs were passing along *args and *kwargs transparently to the subprocess.Popen() API, which holds us hostage to supporting the underlying python APIs. Instead, we now define a strongly typed API with access to limited keyword arguments which we propagate to the underlying python API.