Skip to content

Add option to customize the exename#98

Merged
fonsp merged 1 commit intoJuliaPluto:mainfrom
vchuravy:vc/exename
Oct 21, 2025
Merged

Add option to customize the exename#98
fonsp merged 1 commit intoJuliaPluto:mainfrom
vchuravy:vc/exename

Conversation

@vchuravy
Copy link
Copy Markdown
Contributor

We are currently investigating using Malt.jl for ParallelTestRunner.jl (JuliaTesting/ParallelTestRunner.jl#48) and for some advanced use-cases we would need to be able to change the exename being launched.

@fonsp
Copy link
Copy Markdown
Member

fonsp commented Oct 21, 2025

Thanks! That's a nice addition

@fonsp fonsp merged commit 70e4c55 into JuliaPluto:main Oct 21, 2025
9 of 19 checks passed
@fonsp
Copy link
Copy Markdown
Member

fonsp commented Oct 21, 2025

Registered as v1.3.0

Comment thread src/Malt.jl
stdout::Pipe
stderr::Pipe
function Worker(; env=String[], exeflags=[])
function Worker(; env=String[], exename=exe=Base.julia_cmd()[1], exeflags=[])
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vchuravy what does this syntax do? exename=exe=Base.julia_cmd()[1]

Is it on purpose or is it a typo?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's an accident, it just assigns a global variable called env. Can you commit a fix to main?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there you go! fb35e44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants