class ChildProcess::Windows::SecurityAttributes
typedef struct _SECURITY_ATTRIBUTES {
DWORD nLength; LPVOID lpSecurityDescriptor; BOOL bInheritHandle;
} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
Public Class Methods
new(opts = {})
click to toggle source
Calls superclass method
# File lib/childprocess/windows/structs.rb, line 74 def initialize(opts = {}) super() self[:nLength] = self.class.size self[:lpSecurityDescriptor] = nil self[:bInheritHandle] = opts[:inherit] ? 1 : 0 end