Class: ChildProcess::Windows::ProcessBuilder

### Home Classes Methods

### In Files

- lib/childprocess/windows/process_builder.rb

### Parent

Object

### Methods

- ::new
- #start

### Class/Module Index

Quicksearch

- ChildProcess
- ChildProcess::AbstractIO
- ChildProcess::AbstractProcess
- ChildProcess::Error
- ChildProcess::InvalidEnvironmentVariable
- ChildProcess::JRuby
- ChildProcess::JRuby::IO
- ChildProcess::JRuby::Process
- ChildProcess::JRuby::Pump
- ChildProcess::LaunchError
- ChildProcess::MissingPlatformError
- ChildProcess::SubclassResponsibility
- ChildProcess::TimeoutError
- ChildProcess::Tools
- ChildProcess::Tools::Generator
- ChildProcess::Unix
- ChildProcess::Unix::ForkExecProcess
- ChildProcess::Unix::IO
- ChildProcess::Unix::Lib
- ChildProcess::Unix::Lib::Attrs
- ChildProcess::Unix::Lib::FileActions
- ChildProcess::Unix::Platform
- ChildProcess::Unix::PosixSpawnProcess
- ChildProcess::Unix::PosixSpawnProcess::Argv
- ChildProcess::Unix::PosixSpawnProcess::Envp
- ChildProcess::Unix::Process
- ChildProcess::Windows
- ChildProcess::Windows::Handle
- ChildProcess::Windows::IO
- ChildProcess::Windows::IoCounters
- ChildProcess::Windows::JobObjectBasicLimitInformation
- ChildProcess::Windows::JobObjectExtendedLimitInformation
- ChildProcess::Windows::Lib
- ChildProcess::Windows::Process
- ChildProcess::Windows::Process::Job
- ChildProcess::Windows::ProcessBuilder
- ChildProcess::Windows::ProcessInfo
- ChildProcess::Windows::SecurityAttributes
- ChildProcess::Windows::StartupInfo
- Java
- Java::JavaIo
- Java::JavaIo::FileDescriptor
- Java::SunNioCh
- Java::SunNioCh::FileChannelImpl
- FFI
- FFI::MemoryPointer

No matching classes.

# ChildProcess::Windows::ProcessBuilder

### Attributes

cwd[RW]
detach[RW]
duplex[RW]
environment[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

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

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

      @flags       = 0
      @job_ptr     = nil
      @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_flags
      setup_io

      pid = create_process
      close_handles

      pid
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.