Open aubade opened 2 years ago
What happens when you replace the dub executable with a script out putting the environment variable?
I wonder wheter it is an issue with the plugin or dub itself.
I don't pass in environment variables anywhere to the build task I pass to the vscode tasks API, so I don't think it will contain the environment variables from elsewhere in the tasks file
I'm trying to set LD_LIBRARY_PATH from tasks.json so it'll link to library files created in another root of my build.
Unfortunately, for whatever reason, it seems like the dub build task isn't respecting the environment while a simple test task does.
My tasks.json:
For my test, I replaced the normal LD with this shell script:
Running the normal build task, followed by the test_env task produces this output: