INNER CODE UNIT · Ruby

Command

EugenMayer/docker-sync · lib/docker-sync/command.rb:9

  class Command
    FOREVER = 86_400 * 365
    CHUNK = 1_024

    # @return [Integer] child process ID
    attr_reader :pid

    # @return [nil,Process::Status] result of command if it has ended; nil if still running
    attr_reader :status

    # @return [String] all input that has been captured so far
    attr_reader :captured_input

    # @return [String] all output that has been captured so far
    attr_reader :captured_output

    # @return [String] all output to stderr that has been captured so far
    attr_reader :captured_error

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…