Commit Graph

4 Commits

Author SHA1 Message Date
David Glasser
ef874ae15d node.sh: no readline if in Emacs shell. 2012-09-27 13:38:29 -07:00
David Glasser
c4f977588a Replace our custom non-blocking stdin hack.
Instead:

  - Upgrade to node v0.8.10, which includes the fix to
    https://github.com/joyent/node/issues/3994, to fix "meteor mongo".

  - To fix "meteor deploy" in emacs shell, use a hack to revert the O_NONBLOCK
    setting after process.stdin is evaluated: since the 3994 fix only applies
    when something is spawn'd, make sure to spawn 'true' after evaluating
    process.stdin.

  - In our node.sh script, if in emacs shell, use Perl to make stdin
    non-blocking after node exits. This makes the Node REPL work.
2012-09-27 12:39:01 -07:00
David Glasser
30d20ea8db Preserve spaces in arguments to admin/node.sh. 2012-09-17 18:31:37 -07:00
Nick Martin
f94199e54b Add handy script for executing node on helper scripts. 2012-03-06 15:59:51 -08:00