Advertisement
Guest User

Untitled

a guest
Nov 15th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. while true
  2. command_received = sp.read
  3. print command_received
  4. if (command_received.include?("stream"))
  5. print "ok"
  6. end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement