back-tick in ruby does not work with tail -f command
back-tick in ruby does not work with tail -f command
#myApp.rb
`tail ls` #works fine
`tail -f filename` #does not work... why ?
The above ruby code does not print tail -f output... why ?
how to make it work ?
No comments:
Post a Comment