Revert "mpExperienceHTTP(S): avoid subshelling"

This reverts commit 8ff032cb99d5344853b125164e604514aa0d9893.

Seems not all bash systems like this
This commit is contained in:
Quentin De Coninck 2016-04-20 14:17:22 +02:00
parent 74f567ffe7
commit 1995269614
2 changed files with 4 additions and 4 deletions

View File

@ -55,8 +55,8 @@ class MpExperienceHTTP(MpExperience):
return s return s
def getHTTPClientCmd(self): def getHTTPClientCmd(self):
s = "{time " + MpExperienceHTTP.WGET_BIN + " http://" + self.mpConfig.getServerIP() + \ s = "(time " + MpExperienceHTTP.WGET_BIN + " http://" + self.mpConfig.getServerIP() + \
"/" + self.file + " --no-check-certificate} &>" + MpExperienceHTTP.CLIENT_LOG "/" + self.file + " --no-check-certificate) &>" + MpExperienceHTTP.CLIENT_LOG
print(s) print(s)
return s return s

View File

@ -55,8 +55,8 @@ class MpExperienceHTTPS(MpExperience):
return s return s
def getHTTPSClientCmd(self): def getHTTPSClientCmd(self):
s = "{time " +MpExperienceHTTPS.WGET_BIN + " https://" + self.mpConfig.getServerIP() + \ s = "(time " +MpExperienceHTTPS.WGET_BIN + " https://" + self.mpConfig.getServerIP() + \
"/" + self.file + " --no-check-certificate} &>" + MpExperienceHTTPS.CLIENT_LOG "/" + self.file + " --no-check-certificate) &>" + MpExperienceHTTPS.CLIENT_LOG
print(s) print(s)
return s return s