Updated how the iperf starts..
removed "nohup" "&" method of initiating iperf server.
This commit is contained in:
Родитель
867c38a6b4
Коммит
b4f8f3f028
|
@ -33,8 +33,8 @@ if args.mss != None:
|
|||
command = command + ' -M' + str(args.mss)
|
||||
if args.mss_print == 'yes':
|
||||
command = command + ' -m'
|
||||
finalCommand = 'nohup ' + command + ' >> ' + str(args.log) + ' &'
|
||||
|
||||
#finalCommand = 'nohup ' + command + ' >> ' + str(args.log) + ' &'
|
||||
finalCommand = command + ' >> ' + str(args.log)
|
||||
|
||||
server = finalCommand
|
||||
temp = Run(server)
|
||||
|
|
|
@ -34,10 +34,12 @@ if args.mss != None:
|
|||
command = command + ' -M' + str(args.mss)
|
||||
if args.mss_print == 'yes':
|
||||
command = command + ' -m'
|
||||
finalCommand = 'nohup ' + command + ' >> iperf-server.txt &'
|
||||
#finalCommand = 'nohup ' + command + ' >> iperf-server.txt &'
|
||||
finalCommand = command + ' >> iperf-server.txt'
|
||||
|
||||
|
||||
server = finalCommand
|
||||
print(server)
|
||||
#Run('echo "TestStarted" > iperf-server.txt')
|
||||
StopServer()
|
||||
StartServer(server)
|
||||
|
|
Загрузка…
Ссылка в новой задаче