Skip to content

[Bug] Jupyter-Lab attempts to execute invalid julia.cmd found in PATH despite no kernelspec configuration #18698

Description

@AnonymouZEE

Description:
A bug was identified where Jupyter-Lab performs an aggressive scan of the system PATH.

If a file named julia.cmd (or similar executable extensions) exists in any directory within the PATH,
Jupyter-Lab attempts to execute it during the startup/kernel discovery phase.
This occurs even when no Julia kernel is defined in jupyter kernelspec list.
If the .cmd file is invalid or a placeholder, it causes a startup error/crash in the Jupyter-Lab interface.

Expected Behavior:
Jupyter should only attempt to execute Julia if a valid kernelspec is registered
or if the executable passes a basic --version validation check before being called by the manager.

identified/diagnosed by ZEE-x-EEZ/AnonymouZEE

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions