Skip to content

Commit 216e549

Browse files
authored
Fixed Popen args in physyncd_spawn() (sonic-net#860)
Signed-off-by: Andriy Kokhan <[email protected]>
1 parent 539fdcd commit 216e549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syncd/scripts/gbsyncdmgrd

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def physyncd_spawn(gearbox_config):
3434

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

0 commit comments

Comments
 (0)