Open
Description
Feature Gate: #![feature(windows_process_extensions_raw_attribute)]
This is a tracking issue for adding support to attach raw attributes for process creation on Windows using the raw_attribute()
method.
Public API
pub trait CommandExt {
unsafe fn raw_attribute<T: Copy + Send + Sync + 'static>(
&mut self,
attribute: usize,
value: T,
) -> &mut process::Command;
}
Steps / History
- Add ability to spawn Windows process with Proc Thread Attributes | Take 2 #114848
- Abstract
ProcThreadAttributeList
into its own struct #123604 - Stabilization PR
Unresolved Questions
- Fix passing of raw pointers
- Creating safe interface for setting attributes