Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'mkfifo'
- fifofile = "/tmp/sshfifotest"
- File::mkfifo(fifofile)
- File::chmod(0600, fifofile)
- writer = File.open(fifofile, "w+")
- writer.puts "123123123"
- writer.flush
- writer.close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement