I'm writing an extremely simple test suite, and when I call subprocess.run(["./name-of-binary", args], capture_output=True, shell=True), it stores the output of the command. When I call that with args = "", it seems to pass a space to the binary. When I run the binary with an actual space, everything works totally normally. What's going on? Thanks!
Aucun commentaire:
Enregistrer un commentaire