I was actually using current_machine_id = subprocess.check_output('wmic csproduct get uuid')
On Tuesday, February 23, 2021 at 5:49:29 PM UTC+2 bwoodsend wrote: > You can get around it by explicitly setting unused pipes to > subprocess.DEVNULL rather than letting them default to inheriting an > invalid pipe. So if you were using: > > from subprocess import run, PIPE > > run(["echo", "hello"], stdout=PIPE) > > you should explicitly redirect the unused stdin and stderr to NULL: > > from subprocess import run, PIPE, DEVNULL > > run(["echo", "hello"], stdout=PIPE, stdin=DEVNULL, stderr=DEVNULL) > > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/ac3c890d-01b3-4b38-a950-bb15b0f2e4aan%40googlegroups.com.