Created
April 7, 2020 17:01
-
-
Save foursixnine/c23a33eaa4c6bd87098a2c6bd2c2446a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# works | |
_cmd = "/home/foursixnine/Projects/suse.com/github.com/os-autoinst/openQA/script/client --host %s" | |
_cmd += " --apibase / --apikey %s --apisecret %s" | |
_cmd += " tests/%d/file/autoinst-log.txt get" | |
this_process = subprocess.run(_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
_output = this_process.stdout | |
# doesnt: | |
_cmd = "/home/foursixnine/Projects/suse.com/github.com/os-autoinst/openQA/script/client --host %s " | |
_cmd += " --apibase / --apikey %s --apisecret %s" | |
_cmd += " tests/%d/file/autoinst-log.txt get" | |
this_process = subprocess.run(_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
_output = this_process.stdout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment