Message ID | 1483461924-7981-5-git-send-email-abalutoiu@cloudbasesolutions.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/vtep/ovs-vtep b/vtep/ovs-vtep index 9a5aa3d..fd652d4 100755 --- a/vtep/ovs-vtep +++ b/vtep/ovs-vtep @@ -53,7 +53,11 @@ bfd_ref = {} def call_prog(prog, args_list): cmd = [prog, "-vconsole:off"] + args_list - output = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate() + creationFlags = 0 + if sys.platform == 'win32': + creationFlags = 0x08000000 # CREATE_NO_WINDOW + output = subprocess.Popen(cmd, stdout=subprocess.PIPE, + creationflags=creationFlags).communicate() if len(output) == 0 or output[0] is None: output = "" else: