Fixes VPCS start on Linux/UNIX. Fixes #15.

This commit is contained in:
grossmj 2014-05-22 10:14:09 -06:00
parent f1d346f958
commit 0f5d2927df

View File

@ -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: