Method: ChildProcess::Unix::Lib::Attrs#pgroup=

Defined in:
lib/childprocess/unix/lib.rb

#pgroup=(pid) ⇒ Object



162
163
164
165
# File 'lib/childprocess/unix/lib.rb', line 162

def pgroup=(pid)
  self.flags |= Platform::POSIX_SPAWN_SETPGROUP
  Lib.check Lib.posix_spawnattr_setpgroup(@ptr, pid)
end