Skip to content

Instantly share code, notes, and snippets.

@creationix
Created July 28, 2015 20:00
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 creationix/840b2f85d90353fb3842 to your computer and use it in GitHub Desktop.
Save creationix/840b2f85d90353fb3842 to your computer and use it in GitHub Desktop.
local uv = require('uv')
local stdout = uv.new_pipe(false)
assert(uv.spawn("badfile", {
stdio = {
nil, stdout, nil
}
}, function (...)
p("exit", ...)
end))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment