Skip to content

Discussion: CreateProcessW fails with ERROR_NO_SYSTEM_RESOURCES on Win7 #6

@billziss-gh

Description

@billziss-gh

(This is a discussion and not a real issue.)

I have experienced a similar situation to what you describe in your tests. CreateProcessW fails with ERROR_NO_SYSTEM_RESOURCES when used with EXTENDED_STARTUPINFO_PRESENT and an attempt is made to restrict the inherited handles. The problem appears only on Win7 OS as in your tests.

I am wondering if you have any further insights or if you ever found a good workaround for the problem. The obvious solution would be to call CreateProcessW and pass bInheritHandles==TRUE, but I was hoping to avoid this.

Many thanks for your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions