Skip to content

Instantly share code, notes, and snippets.

@paulfryzel
Last active August 29, 2015 14:09
Show Gist options
  • Save paulfryzel/793169f9a022ae4845ac to your computer and use it in GitHub Desktop.
Save paulfryzel/793169f9a022ae4845ac to your computer and use it in GitHub Desktop.
(function(file) {
var ffi = require("lib/ffi");
var pid = ffi.c.fork();
if (pid < 0) {
std.exit(1);
}
try {
load(file);
}
catch (e) {
std.exit(1);
}
})('tests/00-runtime/es5-cmp.js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment