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?
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 runtocargo build && .\target\debug\app.exeto fix this.Is it a feature, or a bug?