Hello,
I'm student in KMUTT University in Thailand. Now I'm doing senior project that relate to Nano editor.
I just want to exceute some script file when exit nano with saved file.
So, I just added the execute script command in Nano's source code. and It seems like working well
But, there is some problem, if the script file which I want to execute after exit and saved.
Having input or prompt such as "read" command. when this script execute after user was exiting program and saved the file.
It was stuck. Only way to get out of it is restart the machine.
My purpose is I just want a user can input someting when exiting and saved. Like a prompt for user can take input in.
I really don't know how to make that way happen. Could you guide how to make it work? Are there some other ways to make it.
Best Regards.