Tools: WSL2 python.exe uploader.py stdout to be unbuffered via -u
This commit is contained in:
parent
21ea0d9794
commit
3b9c2bb185
@ -64,7 +64,7 @@ class upload_fw(Task.Task):
|
||||
if not self.wsl2_prereq_checks():
|
||||
return
|
||||
print("If this takes takes too long here, try power-cycling your hardware\n")
|
||||
cmd = "{} '{}/uploader.py' '{}'".format('python.exe', upload_tools, src.abspath())
|
||||
cmd = "{} -u '{}/uploader.py' '{}'".format('python.exe', upload_tools, src.abspath())
|
||||
else:
|
||||
cmd = "{} '{}/uploader.py' '{}'".format(self.env.get_flat('PYTHON'), upload_tools, src.abspath())
|
||||
if upload_port is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user