Use full path to stty

This commit is contained in:
Max Howell 2012-03-09 12:04:01 +00:00
parent ca5bccd2d9
commit ebbc2e5b3f

View File

@ -71,10 +71,10 @@ def sudo *args
end
def getc # NOTE only tested on OS X
system "stty raw -echo"
system "/bin/stty raw -echo"
STDIN.getc
ensure
system "stty -raw echo"
system "/bin/stty -raw echo"
end
####################################################################### script