Skip to content

CreateEnvironmentBlock failure should be handled and reported #833

@fasterthanlime

Description

@fasterthanlime

There's this weird thing on Windows where it won't let you programatically log in as another user more than once (at least, it won't let you CreateEnvironmentBlock if there's already a process running as that user, spawned with CreateProcessWithLogonW).

Maybe there's a solution to that (like, have elevate be a daemon?), but if not, that error condition should be detected since it's (relatively) well-understood now

Metadata

Metadata

Assignees

No one assigned

    Labels

    sandboxThe itch.io sandboxwindowsWindows issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions