Skip to content

fix: auto-create workingDirectory before running executable#3097

Open
kmr-ankitt wants to merge 1 commit intodlang:masterfrom
kmr-ankitt:fix/workingdir-autocreate
Open

fix: auto-create workingDirectory before running executable#3097
kmr-ankitt wants to merge 1 commit intodlang:masterfrom
kmr-ankitt:fix/workingdir-autocreate

Conversation

@kmr-ankitt
Copy link

Create the workingDirectory if it does not exist
before spawning the target process.

This prevents dub run from failing when the
workingDirectory has not been created yet.

Fixes #3082

Create the workingDirectory if it does not exist
before spawning the target process.

This prevents `dub run` from failing when the
workingDirectory has not been created yet.

Fixes dlang#3082
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

Thanks for your Pull Request and making D better!

This comment will automatically be updated to summarize some statistics in a few minutes.

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.

dub run should create workingDirectory if it doesn't already exist

1 participant