Use the correct parameter name for creation flags

This commit is contained in:
Dave Halter
2018-04-13 19:04:53 +02:00
parent 83d635cbac
commit ed80ed9437

View File

@@ -508,4 +508,4 @@ class GeneralizedPopen(subprocess.Popen):
creation_flags = 0
if os.name == 'nt':
creation_flags = subprocess.CREATE_NO_WINDOW
super(GeneralizedPopen, self).__init__(*args, creation_flags=creation_flags, **kwargs)
super(GeneralizedPopen, self).__init__(*args, creationflags=creation_flags, **kwargs)