first time, it is needed to add executable permissions for autopixie. chmod +x autopixie.py to run: ./autopixie.py on any promt, input "0" as aswer to go back to menu (exept under settings when creating new rules) CHANGES
Popen(argv, executable=argv[0], stdout=subprocess.PIPE) while 1: line = proc.stdout.readline() if line == '': break print line if '"wps_device_password_id" : "0004"' in line: print "WPS PBC enabled" proc.terminate() break just replace ../wash with the path to wash and run it...