Skip to content

New OWEwoksWidget to run tasks in a process #82

Description

@poautran

In GitLab by @loichuder on Jan 23, 2026, 15:09 GMT+1:

OWEwoksWidgetOneThread is a great abstraction allowing to run the task in a thread. This gives an easy way of having a responsive GUI while the task is running.

Unfortunately, threads cannot be killed so aborting/canceling the task is tricky.

I would propose to create a new Orange Ewoks widget to run the tasks in a multiprocess.Process instead. With a bit a care, processes can be killed to cancel ongoing tasks. This new widget could provide a nice abstraction like OWEwoksWidgetOneThread so that ewoksapps devs do not need to deal with implementation details.

Thoughts @woutdenolf @payno ?

Migrated from GitLab: https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/-/issues/82

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions