Permalink
Switch branches/tags
Nothing to show
Commits on Sep 9, 2013
  1. Add option to discard output

    Alex Suraci and Maria Shaldibina
    Alex Suraci and Maria Shaldibina committed Sep 9, 2013
Commits on Aug 28, 2013
  1. added new licenses

    mreider committed Aug 28, 2013
Commits on Mar 21, 2013
  1. Bump patch

    Alex Suraci & Pieter Noordhuis
    Alex Suraci & Pieter Noordhuis committed Mar 21, 2013
  2. Work around faulty EventMachine behavior

    Alex Suraci & Pieter Noordhuis
    Alex Suraci & Pieter Noordhuis committed Mar 21, 2013
    Defer detach to the next tick, because EventMachine blows up when a file
    descriptor is attached and detached in the same tick. This can happen
    when the child process dies in the same tick it started, and the
    `#waitpid` loop in the signal handler picks it up afterwards. The signal
    handler, in turn, queues the child's callback to the executed via
    `EM#next_tick`. If the blocks queued by `EM#next_tick` are executed
    after that, still in the same tick, the child's file descriptors can be
    detached in the same tick they were attached.
Commits on Mar 2, 2013
  1. Bump patch

    Kowshik Prakasam and Pieter Noordhuis
    Kowshik Prakasam and Pieter Noordhuis committed Mar 2, 2013
  2. Close listeners when child is killed

    Kowshik Prakasam and Pieter Noordhuis
    Kowshik Prakasam and Pieter Noordhuis committed Mar 2, 2013
  3. Refactor Listener

    Kowshik Prakasam and Pieter Noordhuis
    Kowshik Prakasam and Pieter Noordhuis committed Mar 2, 2013
    Offer a stronger contract for listeners, where the listener's block is only
    called once after being closed.
Commits on Feb 20, 2013
  1. Bump version

    Jesse Zhang and Pieter Noordhuis
    Jesse Zhang and Pieter Noordhuis committed Feb 20, 2013
  2. Don't stop EM too early

    Jesse Zhang and Pieter Noordhuis
    Jesse Zhang and Pieter Noordhuis committed Feb 20, 2013
    Otherwise we leave some callbacks behind.
  3. Don't double-close

    Jesse Zhang and Pieter Noordhuis
    Jesse Zhang and Pieter Noordhuis committed Feb 20, 2013
  4. Rename stream -> io for consistency

    Jesse Zhang and Pieter Noordhuis
    Jesse Zhang and Pieter Noordhuis committed Feb 20, 2013
  5. Always create a WritableStream for stdin

    Jesse Zhang and Pieter Noordhuis
    Jesse Zhang and Pieter Noordhuis committed Feb 20, 2013
Commits on Feb 14, 2013
  1. Update README.md

    mreider committed Feb 14, 2013
Commits on Jan 24, 2013
  1. Bump version

    Amit Gupta and Pieter Noordhuis
    Amit Gupta and Pieter Noordhuis committed Jan 24, 2013
  2. Add build status to README

    Amit Gupta and Pieter Noordhuis
    Amit Gupta and Pieter Noordhuis committed Jan 24, 2013
  3. Add Travis configuration

    Amit Gupta and Pieter Noordhuis
    Amit Gupta and Pieter Noordhuis committed Jan 24, 2013
  4. Move directories with deprecated projects to deprecated/

    Amit Gupta and Pieter Noordhuis
    Amit Gupta and Pieter Noordhuis committed Jan 24, 2013
  5. Listener receives the current buffer when it attaches to a process.

    Amit Gupta and Pieter Noordhuis
    Amit Gupta and Pieter Noordhuis committed Jan 24, 2013
Commits on Oct 18, 2012
  1. Use non-blocking reads/writes for signal pipe

    pietern committed Oct 18, 2012
    Without this fix the signal handler could block on #syswrite when the
    reader wasn't fast enough. Because the pipe is only used to signal the
    EM thread, we don't mind a writing failing because the buffer is full.
    
    Change-Id: I2474a38c3d78b96be63d2ee7aac239da79c34cc5
Commits on Oct 15, 2012
  1. Add :close_others option

    pietern committed Oct 15, 2012
    Change-Id: I97d5aa37dfe1f189c8ad0f3899d547ff87723750
Commits on Oct 4, 2012
  1. Use pipe to signal reactor

    pietern committed Oct 4, 2012
    Instead of calling EM directly from the signal handler, this uses a pipe
    to communicate with EM in an attempt to minimize the probability of a
    runtime crash caused by races in signal handler execution.
    
    Change-Id: I483aa250ea424215b734c80dbe74d5b737151219
Commits on Aug 10, 2012
  1. Reinstate clear after closing in-flight streams

    pietern committed Aug 10, 2012
    Change-Id: Ic1815b62bb56f86a3a38e17db6bac97037a55d87
  2. Trigger final non-blocking read after child has terminated

    pietern committed Aug 10, 2012
    Change-Id: I04ec84c78e6158b1203e28d4288c1ed45f39acd2
Commits on Jul 23, 2012
  1. Merge "Add options to prepend data to stdout/stderr"

    mpage Gerrit Code Review
    mpage authored and Gerrit Code Review committed Jul 23, 2012
  2. Merge "Expose child's pid"

    mpage Gerrit Code Review
    mpage authored and Gerrit Code Review committed Jul 23, 2012
Commits on Jul 20, 2012
  1. Add options to prepend data to stdout/stderr

    mpage
    mpage committed Jul 20, 2012
    Change-Id: I49ca315696a93d3872ab6f8c0d11e8fa8533bcdb
  2. Expose child's pid

    mpage
    mpage committed Jul 20, 2012
    Change-Id: I591063f5cdc536d34b37b88c9b1dc004dabb4fc0
Commits on Jul 19, 2012
  1. Update README to include Bug filing info per Deepika

    Chloe Jackson
    Chloe Jackson committed Jul 19, 2012
    Change-Id: I1cc7122c9b7284cfee7eebb2a07614b175c4d69e
Commits on Jul 13, 2012
  1. [em-posix-spawn] Set CLOEXEC for our pipe ends

    mpage
    mpage committed Jul 13, 2012
    Change-Id: Ice75e10843c9f7a7723a6dcb43ceacb3e464e4b0
Commits on Jul 6, 2012
  1. em-posix-spawn: Kill a process.

    kowshik committed Jul 3, 2012
    Clients can now send the SIGTERM signal followed by the SIGKILL signal
    to a process using Child#kill(timeout), where timeout is the wait time
    between delivering the SIGTERM signal and the SIGKILL signal.
    
    Change-Id: I007f06e0e3146909322c8116612dcf2beae27c11
Commits on Jul 2, 2012
  1. em-posix-spawn: Removed reference to WardenError.

    kowshik committed Jul 2, 2012
    Change-Id: Ib1a9d0186dd4f8ff1b6af44f2fda0889fc447bab
  2. em-posix-spawn: Update to README.

    kowshik committed Jul 2, 2012
    Change-Id: Ib58976aa836e4a564e912bc2b550d63b7779d212
Commits on Jun 26, 2012
  1. em-posix-spawn: Listen to stream updates.

    kowshik committed Jun 25, 2012
    Clients can listen to out/err stream updates from active as well as
    completed processes in class Child
    (em-posix-spawn/lib/em/posix/spawn/child.rb) by registering a callback.
    
    Change-Id: I6071d1526eddc96f9611843f4718e3dc9451f271
  2. Only call EM.add_timer when the reactor is running

    pietern committed Jun 26, 2012
    Change-Id: I7ee416b71666231cffefbd1af58d0feaad5bb7f6
Commits on Jun 14, 2012
  1. Fix race where SIGCLD wasn't caught

    pietern committed Jun 14, 2012
    Change-Id: I70dbd630dc698e9202756c81e8ad7f6bb3b08e12