Skip to content

Configurable surrogate directory on Windows #2055

Open

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
    C-enhancementFor PRs adding features, improving functionality, docs, tests, etc.
    O-windowsWindows host support
    on Nov 12, 2026
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-enhancementFor PRs adding features, improving functionality, docs, tests, etc.O-windowsWindows host supportS-needs-triageThe issue has not yet been reviewed.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions