Update - I adjusted the script and everything is working as it should! Thanks @mitu for your help.

#!/usr/bin/python import RPi.GPIO as GPIO import time import subprocess GPIO.setmode(GPIO.BOARD) resetPin=26 GPIO.setup(resetPin, GPIO.IN, pull_up_down = GPIO.PUD_UP) #oldButtonState1 = False print GPIO.input(resetPin) while True: #grab the current button state buttonState1 = GPIO.input(resetPin) # check to see if button has been pushed if buttonState1 == False: # Reset emulator print "Reset pressed" subprocess.call("/home/pi/scripts/multi_switch.sh --es-closeemu", shell$ stdout=subprocess.PIPE, stderr=subprocess.PIPE) time.sleep(.3)