c9/runjs — pull request #8 by sergi (2012-07-05 17:52:31+00:00)
Title: Fix sudo issues

Making this pull request on behalf of @rikarends since he made the changes in my computer and it can only be found there.

This, among others, fixes a bug in which if at some point cloud9 is executed as sudo and later in time we execute it as a normal user, processes like `monlog` will fail without a clear message, dragging other processes with them.

To be re-reviewed by @rikarends and by @zefhemel