Skip to content

Commit

Permalink
Fixed Popen args in physyncd_spawn() (sonic-net#860)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Kokhan <andriyx.kokhan@intel.com>
  • Loading branch information
akokhan authored Jul 15, 2021
1 parent 539fdcd commit 216e549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncd/scripts/gbsyncdmgrd
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def physyncd_spawn(gearbox_config):

for i, phy in enumerate(gearbox_config['phys'], 1):
cmd = '/usr/bin/syncd -p /etc/sai.d/pai.profile -x /usr/share/sonic/hwsku/context_config.json -g {}"'.format(i)
proc = subprocess.Popen(cmd, close_fds=True)
proc = subprocess.Popen(cmd.split(), close_fds=True)
proc_list.append(proc)
syslog.syslog(syslog.LOG_INFO, 'Spawned PID {}'.format(proc.pid))

Expand Down

0 comments on commit 216e549

Please sign in to comment.