⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Loosing process Handlers in node.py #992

@bekiralti

Description

@bekiralti

The method Node.start() starts a new villas-node process. However if it is run twice, the first process-handler, which got saved in self.child gets overwritten by the second process handler.

The command in question:

self.child = subprocess.Popen(
    [self.executable, self.config_file.name],
    stdout=self.log,
    stderr=self.log,
)

If necessary I can provide a working example, providing it now would have bloated up my initial post :D

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