Skip to content
Snippets Groups Projects
  • Anael Beutot's avatar
    3f80f0a0
    Fixed remote execution on host. · 3f80f0a0
    Anael Beutot authored
    When doing remote execution, it was sometimes failing with the following
    exception: OSError: [Errno 10] No child processes.
    The problem is when using libev default loop, the latest register a handler for
    SIGCHLD, it causes a problem when Popen.communicate() tried to do a wait_pid,
    the syscall is skipped because of the signal. Then when wait_pid is called
    again, it failed because the process don't exist anymore.
    3f80f0a0
    History
    Fixed remote execution on host.
    Anael Beutot authored
    When doing remote execution, it was sometimes failing with the following
    exception: OSError: [Errno 10] No child processes.
    The problem is when using libev default loop, the latest register a handler for
    SIGCHLD, it causes a problem when Popen.communicate() tried to do a wait_pid,
    the syscall is skipped because of the signal. Then when wait_pid is called
    again, it failed because the process don't exist anymore.