mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-18 23:43:48 +02:00
Fixes VPCS start on Linux/UNIX. Fixes #15.
This commit is contained in:
parent
f1d346f958
commit
0f5d2927df
@ -344,6 +344,7 @@ class VPCSDevice(object):
|
|||||||
log.info("starting VPCS: {}".format(self._command))
|
log.info("starting VPCS: {}".format(self._command))
|
||||||
self._vpcs_stdout_file = os.path.join(self._working_dir, "vpcs.log")
|
self._vpcs_stdout_file = os.path.join(self._working_dir, "vpcs.log")
|
||||||
log.info("logging to {}".format(self._vpcs_stdout_file))
|
log.info("logging to {}".format(self._vpcs_stdout_file))
|
||||||
|
flags = 0
|
||||||
if sys.platform.startswith("win32"):
|
if sys.platform.startswith("win32"):
|
||||||
flags = subprocess.CREATE_NEW_PROCESS_GROUP
|
flags = subprocess.CREATE_NEW_PROCESS_GROUP
|
||||||
with open(self._vpcs_stdout_file, "w") as fd:
|
with open(self._vpcs_stdout_file, "w") as fd:
|
||||||
|
Loading…
Reference in New Issue
Block a user