Because the app need to be restarted to recognized the new command list.
I would like to say 'please reboot yourself alfred'.
It proceeds to kill it's process by 'pkill pt_main_thread'
Then somehow the script still running in background although the app already killed?
pkill pt_main_thread ; sleep 3s && linux-voice-control-gui
but using chain command not working, it either only kill the app or spawning the app again (there is 2 running instance)
Because the app need to be restarted to recognized the new command list. I would like to say 'please reboot yourself alfred'.
It proceeds to kill it's process by
'pkill pt_main_thread'
Then somehow the script still running in background although the app already killed?pkill pt_main_thread ; sleep 3s && linux-voice-control-gui
but using chain command not working, it either only kill the app or spawning the app again (there is 2 running instance)