Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Mar 6, 2011
  1. @tmm1

    compile on rbx

    tmm1 authored
  2. @rtomayko

    Child: force all IO objects and buffers to BINARY for now

    rtomayko authored
    Otherwise, the out and err buffer strings are assumed to be whatever
    the source file encoding is (US-ASCII currently), while the IO
    objects will get their encoding from Encoding.default_external and
    Encoding.default_internal which can vary by environment (LANG,
    LC_ALL, etc.). This causes the out and err strings to be implicitly
    converted to a different encoding when appending to them with
    String#<< data we've read off the IO object.
    Forcing everything to binary also lets us get rid of the need to
    define String#bytesize since #size = #bytesize with BINARY encoding.
    At some point we'll need to deal with this stuff in a way that's
    consistent with Ruby's core IO methods. We should accept input in
    any encoding and transcode it to the Encoding default or a
    user-specified external_encoding when writing to the stdin fd. We
    should also read data off of the stdout/stderr IO objects in the
    default or user-specified external_encoding and transcode to the
    internal_encoding. Unfortunately, that's going to require also
    adding support for specifying encodings to Child::new so that you
    can override Encoding.default_internal/default_external for binary
    reads and whatnot.
  3. @tmm1

    Version bump: 0.3.3

    tmm1 authored
  4. @tmm1
  5. @tmm1

    Revert "assume the user wants stdout/stderr to be in the same encodin…

    tmm1 authored
    …g as the input string on 1.9"
    This reverts commit e0be597.
  6. @tmm1

    Version bump: 0.3.2

    tmm1 authored
  7. @tmm1
  8. @tmm1
  9. @tmm1
  10. @tmm1

    Revert "Fixed NoMethodError in POSIX::Spawn::Child."

    tmm1 authored
    This reverts commit 682e930.
Commits on Mar 4, 2011
  1. @hotovson
Commits on Mar 3, 2011
  1. @tmm1

    Version bump: 0.3.0

    tmm1 authored
  2. @rtomayko
  3. @rtomayko

    MIT license

    rtomayko authored
  4. @rtomayko
  5. @rtomayko
  6. @rtomayko
  7. @rtomayko
  8. @rtomayko
  9. @rtomayko
  10. @tmm1
  11. @tmm1

    test simple string command too

    tmm1 authored
  12. @tmm1
  13. @rtomayko

    move Child exceptions into POSIX::Spawn

    rtomayko authored
    Basically just wanting to keep these class names as small as
    possible so rescues hopefully don't require line breaks and whatnot.
    They may be useful for other Spawn related methods and classes too.
  14. @rtomayko
  15. @rtomayko
  16. @tmm1
  17. @tmm1

    pull out popen4 into Spawn

    tmm1 authored
  18. @tmm1

    just to be sure

    tmm1 authored
  19. @tmm1

    implement unsetenv_others

    tmm1 authored
  20. @tmm1
  21. @tmm1
  22. @tmm1

    oop, no double sh wrapper

    tmm1 authored
  23. @tmm1

    simple test for pipe_buf limit

    tmm1 authored
  24. @tmm1

    fixup system and `

    tmm1 authored
Something went wrong with that request. Please try again.