Remove use of subprocess
and replace with appropriate Python libraries wherever possible
#26
Labels
enhancement
New feature or request
Among other problems, spawning a new process reduces the main program's control over program logic and will make testing automation difficult.
Examples include calls to the AWS CLI and calls to ssh. The former can use the
boto3
library (see this commit) while an example of using theParamiko
library as an SSH client can be found in this commit.E.g. this:
becomes this:
The text was updated successfully, but these errors were encountered: