Skip to content

Configurable surrogate directory on Windows #437

Closed as not planned
Closed as not planned

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. changed the title [-]Configurable surrogate process on windows[/-] [+]Configurable surrogate process location on windows[/+] on Nov 12, 2026
  2. changed the title [-]Configurable surrogate process location on windows[/-] [+]Configurable surrogate directory on Windows[/+] on Nov 12, 2026
  3. ludfjig commented on Nov 12, 2026

    @ludfjig
    ContributorAuthor

    Moved to hyperlight-dev/hyperlight#2055, opened on the wrong repo by mistake.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions