Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true
- command_received = sp.read
- print command_received
- if (command_received.include?("stream"))
- print "ok"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement