Skip to content

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

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?

Activity

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

    A-custom-subcommandsArea: custom 3rd party subcommand pluginsC-bugCategory: bugCommand-runO-windowsOS: WindowsS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions