Skip to content

Instantly share code, notes, and snippets.

@satanasov
Created May 29, 2016 07:45
Show Gist options
  • Save satanasov/32fa5074a5d4f86c5cd4f1d7014d0953 to your computer and use it in GitHub Desktop.
Save satanasov/32fa5074a5d4f86c5cd4f1d7014d0953 to your computer and use it in GitHub Desktop.
--- RetroPie-Setup/scriptmodules/supplementary/runcommand/runcommand.sh 2016-05-25 11:51:09.420177474 +0000
+++ /opt/retropie/supplementary/runcommand/runcommand.sh 2016-05-25 12:05:42.353124138 +0000
@@ -799,9 +799,9 @@
if [[ "$emulator" == frotz || "$is_console" -eq 1 || "$is_sys" -eq 0 ]]; then
# turn cursor on
tput cnorm
- eval $command </dev/tty 2>/tmp/runcommand.log
+ eval $command </dev/tty0 2>/tmp/runcommand.log
else
- eval $command </dev/tty &>/tmp/runcommand.log
+ eval $command </dev/tty0 &>/tmp/runcommand.log
fi
clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment