#Run dagger.exe from another location using the Go SDK?

1 messages · Page 1 of 1 (latest)

serene harbor
#

Due to restrictive policies at work, I’m only allowed to run exe files from a whitelisted path on the hard drive. I’m trying to build a workflow using the Go SDK, but when I’m running it, the dagger.exe file located in %userprofile%\AppData\Local\cache\dagger is blocked by Windows Defender.
I’m new to both Dagger and Go, so this might be a stupid question, but is there a way to run the dagger executable file from another location? I’m running this on a Windows 10 computer.

oblique arch
#

I would say no from the top of my head.
But your use case might not be so unusual, with security policies, etc.
I'm pinging @tired matrix because I believe he would be more able to answer this one. If not, I think we could create an issue to track this use case.

neon sedge
#

You can set the XDG_CACHE_HOME environment variable to chose another directory. The cli will be downloaded into a dagger subdir.