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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Jonathan Abrahams (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: