Bash Read in retropie

RetroPie has a new website and forum. Please visit for the new site. The new forum is located at This forum is left here as a read-only archive.

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of titafubaki titafubaki 1 year, 6 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #107774
    Profile photo of titafubaki

    Hi guys,
    I wonder how scripts in retropie works.
    I have created a theme for own Apps.(see pictures) There are some scripts (indicated with the extension .sh) The scripts work but if I try to use “read” to enter a information there will not be the possibility to enter something. There are just an error message like “read: read error: 0:bad file descriptor”.
    If i start the script in putty (SSH) it works fine.

    Here it is:

    echo -n "Enter your IP and press [ENTER]: "
    read ipaddress
    moonlight pair $ipaddress
    echo $ipaddress > /home/pi/RetroPie/roms/apps/ipaddress

    I think it is just something really stupid but i cant find a solution.
    The Last Picture is the Error. Do somebody have the solution?

    German Gaming Community

Viewing 1 post (of 1 total)

Forums are currently read only - please visit the new RetroPie forums at

Skip to toolbar