←back to thread

Ubuntu on Windows

(blog.dustinkirkland.com)
2049 points bpierre | 1 comments | | HN request time: 0.205s | source
Show context
msoad ◴[] No.11390994[source]
So what OS you're going to get when you run an application under this? So if I run this:

    node -e 'console.log(require("os").type())'
What it's going to print?
replies(7): >>11391034 #>>11391059 #>>11391325 #>>11391359 #>>11392940 #>>11393115 #>>11394355 #
1. orf ◴[] No.11391059[source]
Whatever it prints on Ubuntu I expect. Obviously it's not going to return "Windows", or "UbuntuInWindows" else anything that makes that call that would break.