Skip to content

Commit 3ec8799

Browse files
author
Johan Knutzen
committed
add comment for DontInheritHandles in SysProcAttr
1 parent 00acb42 commit 3ec8799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syscall/exec_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ type SysProcAttr struct {
241241
Token Token // if set, runs new process in the security context represented by the token
242242
ProcessAttributes *SecurityAttributes // if set, applies these security attributes as the descriptor for the new process
243243
ThreadAttributes *SecurityAttributes // if set, applies these security attributes as the descriptor for the main thread of the new process
244-
DontInheritHandles bool
244+
DontInheritHandles bool // if set, each inheritable handle in the calling process is not inherited by the new process
245245
}
246246

247247
var zeroProcAttr ProcAttr

0 commit comments

Comments
 (0)