Skip to content

Instantly share code, notes, and snippets.

@cablehead
Created May 27, 2015 22:45
Show Gist options
  • Save cablehead/04c8f0d463a14217d3e1 to your computer and use it in GitHub Desktop.
Save cablehead/04c8f0d463a14217d3e1 to your computer and use it in GitHub Desktop.
local sys = require("levee.sys")
local r, w = sys.os.pipe()
sys.os.write(w, s, #s)
local r, w = sys.fd.pipe()
sys.fd.write(w, s, #s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment