Skip to content

Instantly share code, notes, and snippets.

@paulfryzel
Created November 19, 2014 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulfryzel/c66376c43df8dda00998 to your computer and use it in GitHub Desktop.
Save paulfryzel/c66376c43df8dda00998 to your computer and use it in GitHub Desktop.
(function(file) {
var ffi = require("lib/ffi");
var std = require("lib/stdlib");
var pid = ffi.c.fork();
})('tests/00-runtime/es5-cmp.js');
@paulfryzel
Copy link
Author

$ ./higgs tr2.js
core.exception.InvalidMemoryOperationError@(0)

@paulfryzel
Copy link
Author

Without L3 (var std = require("lib/stdlib");)

$ ./higgs tr2.js
TypeError: call to non-function "fork"
anon(21C89) ("tr2.js"@4:13)
tr2_js(21C81) ("tr2.js"@1:2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment