Skip to content

In windows, the program by cargo run called don't have JOB_OBJECT_LIMIT_BREAKAWAY_OK flag #4841

Open
@pea3nut

Description

@pea3nut

My app needs to create a child process with CREATE_BREAKAWAY_FROM_JOB flag, but the program by cargo run called don't have JOB_OBJECT_LIMIT_BREAKAWAY_OK flag, so I got deny error.

see https://msdn.microsoft.com/en-US/library/ms684863

I have to change cargo run to cargo build && .\target\debug\app.exe to fix this.

Is it a feature, or a bug?

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