How can I access my OS from the node shell?
Context: I'm writing a script in node that I want to open a file with the default program, and the commands for doing this vary across OS.
I've tried standard javascript ways of getting the OS, but they haven't worked (for obvious reasons, there is no navigator
in node).
Is it possible to do this without installing nonstandard modules?