-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Implement Node.js for Linux #193
Comments
Comment by timburgess +1 to merge. Grunt |
Comment by jasonsanjose Thanks @timburgess. We still need to wait for #305 to land. I'll merge this pull soon after. |
Comment by JeffryBooher I was able to build Brackets with this branch and the -3 is definitely gone! 👍 |
Comment by jasonsanjose Merging. Awesome work @timburgess! Also thanks for reviewing my gyp and grunt changes. Thanks @JeffryBooher for confirming the bug fix. This. Is. Big. 🙌 |
Comment by timburgess No problem. Glad it is now in master and hopefully should kill a lot of the recent Linux functionality questions.. |
Comment by timburgess @jasonsanjose I'd value being listed in the Sprint 30 Release Notes as a contributor ;-) |
Comment by jasonsanjose Yikes! I guess I missed this one because I re-submitted the pull request. Sorry about that! I've updated the release notes https://github.com/adobe/brackets/wiki/Release-Notes:-Sprint-30. |
Comment by njx FYI, if what happened is that you did a merge/squash and so lost the original commit, in future you can specify |
Comment by jasonsanjose Nope, wasn't a squash. I think we normally just look at the pull request author vs. the commit author. |
Comment by njx Ah. Maybe when reopening a pull request, we could put the original author in the title of the new one just so we'll notice it when scanning for the release notes. |
Comment by jasonsanjose Good idea! |
Issue by jasonsanjose
Tuesday Aug 20, 2013 at 19:21 GMT
Originally opened as adobe#306
Based on an earlier pull request from @timburgess, #278. This also includes commits from #305 that fix the installer build. Finally, I've updated the gyp and grunt scripts to include node.
Original description:
This is some initial work in getting the node process up & running in Linux.
With this code, brackets-shell kicks off a mutexed launch thread that starts the Node executable in a subprocess.
As per the latest linux setup script, Node is launched from brackets-shell/deps/node/bin/node.
A file descriptor in the startup thread is piped to STDIN in the subprocess.
I have experimented with passing input to the node process to eval(). This works but Node appears to buffer it's output if it detects that STDIN is not a terminal. If I run node in interactive mode i.e. 'node -i' it stops buffering but produces a lot more output than I think is wanted.
I'd appreciate getting some feedback on how to run Node as then I can add code to setup a pipe from the subprocess STDOUT to a thread that reads the output.
jasonsanjose included the following code: https://github.com/adobe/brackets-shell/pull/306/commits
The text was updated successfully, but these errors were encountered: