mpExperienceHTTP(S): avoid subshelling
This commit is contained in:
parent
377decd5b0
commit
b27d2b545b
@ -55,8 +55,8 @@ class MpExperienceHTTP(MpExperience):
|
||||
return s
|
||||
|
||||
def getHTTPClientCmd(self):
|
||||
s = "(time " + MpExperienceHTTP.WGET_BIN + " http://" + self.mpConfig.getServerIP() + \
|
||||
"/" + self.file + " --no-check-certificate) &>" + MpExperienceHTTP.CLIENT_LOG
|
||||
s = "{time " + MpExperienceHTTP.WGET_BIN + " http://" + self.mpConfig.getServerIP() + \
|
||||
"/" + self.file + " --no-check-certificate} &>" + MpExperienceHTTP.CLIENT_LOG
|
||||
print(s)
|
||||
return s
|
||||
|
||||
|
@ -55,8 +55,8 @@ class MpExperienceHTTPS(MpExperience):
|
||||
return s
|
||||
|
||||
def getHTTPSClientCmd(self):
|
||||
s = "(time " +MpExperienceHTTPS.WGET_BIN + " https://" + self.mpConfig.getServerIP() + \
|
||||
"/" + self.file + " --no-check-certificate) &>" + MpExperienceHTTPS.CLIENT_LOG
|
||||
s = "{time " +MpExperienceHTTPS.WGET_BIN + " https://" + self.mpConfig.getServerIP() + \
|
||||
"/" + self.file + " --no-check-certificate} &>" + MpExperienceHTTPS.CLIENT_LOG
|
||||
print(s)
|
||||
return s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user