Skip to content
Commits on Sep 9, 2013
  1. Add option to discard output

    Alex Suraci and Maria Shaldibina committed Sep 9, 2013
Commits on Aug 28, 2013
  1. @mreider

    added new licenses

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

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

    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.
    Alex Suraci & Pieter Noordhuis committed Mar 21, 2013
Commits on Mar 2, 2013
  1. Bump patch

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

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

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

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

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

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

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

    Jesse Zhang and Pieter Noordhuis committed Feb 20, 2013
Commits on Feb 14, 2013
  1. @mreider

    Update README.md

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

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

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

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

    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 committed Jan 24, 2013
Commits on Oct 18, 2012
  1. @pietern

    Use non-blocking reads/writes for signal pipe

    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
    pietern committed Oct 18, 2012
Commits on Oct 15, 2012
  1. @pietern

    Add :close_others option

    Change-Id: I97d5aa37dfe1f189c8ad0f3899d547ff87723750
    pietern committed Oct 15, 2012
Commits on Oct 4, 2012
  1. @pietern

    Use pipe to signal reactor

    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
    pietern committed Oct 4, 2012
Commits on Aug 10, 2012
  1. @pietern

    Reinstate clear after closing in-flight streams

    Change-Id: Ic1815b62bb56f86a3a38e17db6bac97037a55d87
    pietern committed Aug 10, 2012
  2. @pietern

    Trigger final non-blocking read after child has terminated

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

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

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

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

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

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

    Change-Id: Ice75e10843c9f7a7723a6dcb43ceacb3e464e4b0
    mpage committed Jul 13, 2012
Commits on Jul 6, 2012
  1. @kowshik

    em-posix-spawn: Kill a process.

    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
    kowshik committed Jul 3, 2012
Commits on Jul 2, 2012
  1. @kowshik

    em-posix-spawn: Removed reference to WardenError.

    Change-Id: Ib1a9d0186dd4f8ff1b6af44f2fda0889fc447bab
    kowshik committed Jul 2, 2012
  2. @kowshik

    em-posix-spawn: Update to README.

    Change-Id: Ib58976aa836e4a564e912bc2b550d63b7779d212
    kowshik committed Jul 2, 2012
Commits on Jun 26, 2012
  1. @kowshik

    em-posix-spawn: Listen to stream updates.

    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
    kowshik committed Jun 25, 2012
  2. @pietern

    Only call EM.add_timer when the reactor is running

    Change-Id: I7ee416b71666231cffefbd1af58d0feaad5bb7f6
    pietern committed Jun 26, 2012
Commits on Jun 14, 2012
  1. @pietern

    Fix race where SIGCLD wasn't caught

    Change-Id: I70dbd630dc698e9202756c81e8ad7f6bb3b08e12
    pietern committed Jun 14, 2012
Something went wrong with that request. Please try again.