Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-24013

Fix kill_process logic to handle process names which contains regex special characters

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.6
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • TIG 14 (05/13/16)
    • 0

      The full process name returned from "pgrep -f -l" can return a process which has a embedded regex expressions. Since the full process name is used by pkill, it can fail as these special characters are treated as a regex. It would be better to kill using the process id, via kill.

            Assignee:
            jonathan.abrahams Jonathan Abrahams
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: