ASM #611 fix to MHS issues in DR_17297

Change-Id: Ie32edc0bac5458e3d356a0b6b3deea0f8d520cb7

Former-commit-id: fc06896ae4d9adf0973522313f5e65df6ac67fa4
This commit is contained in:
Fay.Liang 2014-06-05 15:47:37 -04:00
parent c007420e22
commit d1aa160aa7

View file

@ -491,7 +491,7 @@ class IrtAccess():
self.logEvent("Transmit: ", cmd) self.logEvent("Transmit: ", cmd)
import siteConfig import siteConfig
from subprocess import Popen,PIPE from subprocess import Popen,PIPE
output,err = Popen(cmd.split(" "), stdout=PIPE,stderr=PIPE).communicate() output,err = Popen(cmd, shell=True, stdout=PIPE,stderr=PIPE).communicate()
if output.find(siteConfig.GFESUITE_MHSID+"-") == -1: if output.find(siteConfig.GFESUITE_MHSID+"-") == -1:
alertMsg = "ISC Send failed transmission to : "+",".join(addresses)+" --> "+output+" "+err alertMsg = "ISC Send failed transmission to : "+",".join(addresses)+" --> "+output+" "+err
self.logProblem(alertMsg) self.logProblem(alertMsg)