Skip to content

Commit 6828575

Browse files
committed
procthreadattrlisf no
1 parent 30194bf commit 6828575

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/windows/spawn.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub(in crate::windows) fn spawn(
170170
0,
171171
&mut proc_thread_attr_list_len,
172172
))?;
173-
security_capabilities = sandbox.profile.get_security_capabilities();
173+
/*security_capabilities = sandbox.profile.get_security_capabilities();
174174
Cvt::nonzero(UpdateProcThreadAttribute(
175175
startup_info.lpAttributeList,
176176
0,
@@ -179,7 +179,7 @@ pub(in crate::windows) fn spawn(
179179
std::mem::size_of::<SECURITY_ATTRIBUTES>(),
180180
std::ptr::null_mut(),
181181
std::ptr::null_mut(),
182-
))?;
182+
))?;*/
183183

184184
startup_info.StartupInfo.cb = size_of::<STARTUPINFOEXW>() as u32;
185185
startup_info.StartupInfo.dwFlags = STARTF_USESTDHANDLES;

0 commit comments

Comments
 (0)