Skip to content

Kill doesn't work on Ubuntu #1

@aishfenton

Description

@aishfenton

When we issue a @process.kill on ubuntu it doesn't kill it (even if we use INT). Digging in a little it looks like @process.id is the wrong pid, hence kill doesn't work.

On Ubuntu when the process is run, it runs "sh -c [my command]", which then spawns the actual command. This appears to be different from OS X where the command is executed directly (as the ruby doc implies would happen).

I assume(?) that it's the extra "sh -c" process that's causing the pid to be incorrect, since it's pointing at the "sh -c" process rather than the real command process.

We're stuck. Any help appreciated, and happy to work on it with you.

Aish

PS. The same script is working fine on OS X.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions