Skip to content

Configurable surrogate directory on Windows #2055

Closed

Description

@ludfjig

On first use, hyperlight writes hyperlight_surrogate_<hash>.exe to the directory of std::env::current_exe(), and sandbox creation fails if that directory is read-only (source). For a .NET app started with dotnet MyApp.dll, or tests run with dotnet test, that is the .NET install directory, by default C:\Program Files\dotnet. Make the directory configurable, for example with an environment variable.

Activity

  1. added
    S-needs-triage
    on Nov 12, 2026
  2. added
    C-enhancement
    O-windows
    on Nov 12, 2026
  3. added
    O-whp
    on Nov 16, 2026
  4. added a commit that references this issue on Nov 18, 2026
    9c7bf8a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementO-whpO-windowsS-needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions