From 0f5d2927dfae48e4bdd875134638c0f578259895 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 22 May 2014 10:14:09 -0600 Subject: [PATCH] Fixes VPCS start on Linux/UNIX. Fixes #15. --- gns3server/modules/vpcs/vpcs_device.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/modules/vpcs/vpcs_device.py b/gns3server/modules/vpcs/vpcs_device.py index 6a5a6397..d84d2a7e 100644 --- a/gns3server/modules/vpcs/vpcs_device.py +++ b/gns3server/modules/vpcs/vpcs_device.py @@ -344,6 +344,7 @@ class VPCSDevice(object): log.info("starting VPCS: {}".format(self._command)) self._vpcs_stdout_file = os.path.join(self._working_dir, "vpcs.log") log.info("logging to {}".format(self._vpcs_stdout_file)) + flags = 0 if sys.platform.startswith("win32"): flags = subprocess.CREATE_NEW_PROCESS_GROUP with open(self._vpcs_stdout_file, "w") as fd: