]> git.phdru.name Git - dotfiles.git/commit
webstdin: Redirect stdin from `/dev/tty`
authorOleg Broytman <phd@phdru.name>
Fri, 29 May 2020 23:42:35 +0000 (02:42 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 29 May 2020 23:42:35 +0000 (02:42 +0300)
commit2339f34398738b0343c7cd552669362689f9ed25
treefa84dfac16bd4973749ea9e3e645274debf27778
parent8d394ce98bd358912de0ac026439476302009390
webstdin: Redirect stdin from `/dev/tty`

The script is usually run with stdin redirected from a file or a pipe.
It's necessary to re-redirect stdin so that a console browser
reads from the terminal.
bin/webstdin