Correctly strip newline (on Windows)
This commit is contained in:
parent
c410a8b7cb
commit
886e42a98b
|
@ -28,7 +28,7 @@ def get_build_dir(config) -> Path:
|
||||||
command.append("--use-target-arch-name")
|
command.append("--use-target-arch-name")
|
||||||
return Path(
|
return Path(
|
||||||
subprocess.run(command, cwd=str(HOME), check=True, stdout=subprocess.PIPE)
|
subprocess.run(command, cwd=str(HOME), check=True, stdout=subprocess.PIPE)
|
||||||
.stdout[:-1]
|
.stdout.strip()
|
||||||
.decode("utf8")
|
.decode("utf8")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue