Merge pull request #102 from cuu/master

remove gsnotify in run.py
This commit is contained in:
GNU 2018-08-26 12:25:46 +08:00 committed by GitHub
commit 8186028711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -296,7 +296,7 @@ def event_process(event,main_screen):
pygame.quit()
gobject_main_loop.quit()
os.chdir( GetExePath())
exec_app_cmd = "./gsnotify/gsnotify-arm& cd "+os.path.dirname(event.message)+";"
exec_app_cmd = "cd "+os.path.dirname(event.message)+";"
exec_app_cmd += event.message
exec_app_cmd += "; sync & cd "+GetExePath()+"; exec python "+myscriptname
print(exec_app_cmd)
@ -540,7 +540,6 @@ if __name__ == '__main__':
else:
os.system("sudo iw wlan0 set power_save on")
os.spawnlp(os.P_NOWAIT,"./gsnotify/gsnotify-arm", "./gsnotify/gsnotify-arm")
big_loop()