Skip to content

Childprocess of a subprocess #595

@amodpandey

Description

@amodpandey

Hi,

I run a script which runs in foreground. This script executes a java child process. When I terminate my script (Ctrl+C) the child process gets terminates and then I get the prompt back.

I expected the same behavior with supervisord. I used TERM and QUIT signal. When stop is called only the script is terminated and the child java process is left running under process id 1.

I did read this 'If a process created by supervisord creates its own child processes, supervisord cannot kill them.'

But why it is not possible to send the term signal to the child process. Getting behavior similar to what we see with the terminal.

kill -- -

This might have been answered somewhere but I could not find one.

supervisorctl version

3.0a8

Regards
Amod

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions