Change order of calling LD_PRELOAD variable for running iPerf3 command
Change-Id: If3bcfc6d3ebc47ee309a0ee9f6ae3af5b24617f2
Signed-off-by: Ivan Ivanets <[email protected]>
# NGINX used `worker_cpu_affinity` in configuration file
taskset_cmd = u"" if program_name == u"nginx" else \
f"taskset --cpu-list {core_list}"
- cmd = f"nohup {shell_cmd} \'{env_vars}{taskset_cmd} " \
+ cmd = f"nohup {taskset_cmd} {shell_cmd} \'{env_vars} " \
f"{program_path}{program_name} {args} >/tmp/{program_name}_" \
f"stdout.log 2>/tmp/{program_name}_stderr.log &\'"
try: