Skip to content

unclear on how to add parent process names to scn.process_handling.ALLOWED_PARENTS #24

@LFSaw

Description

@LFSaw

I am using VSCode with the SuperCollider plugin by @scztt.
Running sc3nb in parallel is cumbersome since it always kills the sclang process of the extension with

 Terminating psutil.Process(pid=24730, name='sclang', status='running', started='11:03:27') because none of the parents=[psutil.Process(pid=35107, name='Code Helper (Plugin)', status='running', started='2025-04-11 15:00:50'), psutil.Process(pid=94134, name='Electron', status='running', started='2025-04-11 13:34:14'), psutil.Process(pid=1, name='launchd', status='running', started='2025-03-20 17:50:34'), psutil.Process(pid=0, name='kernel_task', status='running', started='2025-03-20 17:50:34')] are in allowed_parents=('scide', 'python', 'tox') More information can be found in the documentation.

Adding 'Code Helper (Plugin)' to scn.process_handling.ALLOWED_PARENTS with

scn.process_handling.ALLOWED_PARENTS = ('scide', 'python', 'tox', 'code', 'vscode', 'Electron')

did not change it. What am I doing wrong?
The documentation is not clear on how to proceed, or at least I could not find the information there.

thanks in advance!
+++

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