Skip to content

Use of kill -9 in ShutdownCfs leaves xterm process running #14

Open
@skliper

Description

@skliper

kill_string = "kill -9 $(pidof {})".format(self.config.cfs_exe)
status = os.system(kill_string) == 0
if not status:
log.error("Failed to kill process {}. CFS may have already exited.")

This only kills the cfs process, need to also kill the xterm. One approach that has worked for us is to use pkill:

pkill -f (process name that is also in xterm title)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions