diff --git a/pydevices/RfxDevices/MARTE2_SUPERVISOR.py b/pydevices/RfxDevices/MARTE2_SUPERVISOR.py index e0129c64e7..9c1efadd10 100644 --- a/pydevices/RfxDevices/MARTE2_SUPERVISOR.py +++ b/pydevices/RfxDevices/MARTE2_SUPERVISOR.py @@ -1377,7 +1377,7 @@ def stopMarte(self): import subprocess import os - command = 'kill -KILL `ps -Af | grep %s_marte_configuration.cfg | grep MARTeApp.ex | grep -v grep | awk \'{print $2}\'`' % (marteName) + command = 'kill -KILL `ps -f | grep MARTeApp.ex | grep -v grep | awk \'{print $2}\'`' os.system(command) return 1