kripken/emscripten — Issue #261: support for CLI file IO
Author: paleozogt
Created: 2012-02-17 17:59:12+00:00
State: open

I'd like to be able to read real files when running inside node.js (basically emulating a real CLI program). I realize this is a weird use-case-- the whole point of emscripten is to run inside the browser after all. However, being able to run as a real CLI program can allow C/C++ libraries to reuse their CLI unit-tests that may depend on test data in files. And being able to easily run tests means we'll be able to know very quickly whether the lib is working in emscripten or not (you can imagine using this on a build box, for example).