Parent

Methods

ChildProcess::Windows::ProcessBuilder

Attributes

cwd[RW]
detach[RW]
duplex[RW]
environment[RW]
inherit[RW]
stderr[RW]
stdin[R]
stdout[RW]

Public Class Methods

new(args) click to toggle source
# File lib/childprocess/windows/process_builder.rb, line 7
def initialize(args)
  @args        = args

  @inherit     = false
  @detach      = false
  @duplex      = false
  @environment = nil
  @cwd         = nil

  @stdout      = nil
  @stderr      = nil
  @stdin       = nil

  @flags       = 0
  @cmd_ptr     = nil
  @env_ptr     = nil
  @cwd_ptr     = nil
end

Public Instance Methods

start() click to toggle source
# File lib/childprocess/windows/process_builder.rb, line 26
def start
  create_command_pointer
  create_environment_pointer
  create_cwd_pointer

  setup_detach
  setup_io

  pid = create_process
  close_handles

  pid
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.