Return stdout when a process crash for IOU, Dynamips, uBridge and VPCS.

This commit is contained in:
Jeremy
2015-07-04 14:08:03 -06:00
parent 9235c3a913
commit 83929119be
4 changed files with 11 additions and 2 deletions

View File

@ -255,6 +255,8 @@ class VPCSVM(BaseVM):
self._started = False
self.status = "stopped"
self._process = None
if returncode != 0:
self.project.emit("log.error", {"message": "VPCS process has stopped, return code: {}\n{}".format(returncode, self.read_vpcs_stdout())})
@asyncio.coroutine
def stop(self):