Skip to content

Commit

Permalink
runcommand - don't launch fbi in background
Browse files Browse the repository at this point in the history
 * disable fbi in background even for retroarch emulators. fbi/Retroarch has stdin attached to /dev/tty/. When fbi exits it causes issues keyboard input/stdin.
  • Loading branch information
joolswills committed Oct 24, 2016
1 parent 53b37fa commit 87e4051
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scriptmodules/supplementary/runcommand/runcommand.sh
Expand Up @@ -761,11 +761,7 @@ function show_launch() {
done

if [[ -z "$DISPLAY" && -n "$image" ]]; then
if [[ "$command" =~ retroarch ]]; then
fbi -1 -t 5 -noverbose -a "$image" </dev/tty &>/dev/null &
else
fbi -1 -t 2 -noverbose -a "$image" </dev/tty &>/dev/null
fi
fbi -1 -t 2 -noverbose -a "$image" </dev/tty &>/dev/null
elif [[ "$disable_menu" -ne 1 && "$use_art" -ne 1 ]]; then
local launch_name
if [[ -n "$rom_bn" ]]; then
Expand Down

0 comments on commit 87e4051

Please sign in to comment.