tmm1/pygments.rb — pull request #21 by tmm1 (2012-04-26 02:06:06+00:00)
Title: add really basic v0.1 of Pygments::Popen

/cc #19

Tests pass and feature complete, but the popen stuff needs to be made more robust. Specifically, it doesn't handle the PIPE_BUF max and could be smarter about catching SIGCHLD to notice when the popen'd child dies.

Also probably want better error reporting and a way to catch and send back exceptions to rubyland. Currently the python process just dies and spits the error out to stderr.