0Any suggestions for a Kill Compile Run Execute sequence from emacs in a single step ? c/emacs · by olymk2@alien.top · 2y · 10 comments
on Any suggestions for a Kill Compile Run Execute sequence from emacs in a single step ? · c/emacs · 1 pts · 2yProbably because I was just getting into golang and following a tutorial which did not mention using go run, but I will now thanks :)
on Any suggestions for a Kill Compile Run Execute sequence from emacs in a single step ? · c/emacs · 1 pts · 2yAwesome I will give that a try :)
on Any suggestions for a Kill Compile Run Execute sequence from emacs in a single step ? · c/emacs · 1 pts · 2yOkay so what I think your saying is if i do something like this as the compilation command go build main.go && ./main Then when I run compilation again it will kill the buffer and running process and all will be good ?
on Any suggestions for a Kill Compile Run Execute sequence from emacs in a single step ? · c/emacs · 1 pts · 2yI did wonder if that's perhaps the solution, although not sure how you would get the pid in a make file to kill the running instance, make files are not something I have played with much, I will see if others have any suggestions.
Probably because I was just getting into golang and following a tutorial which did not mention using go run, but I will now thanks :)
Awesome I will give that a try :)
Okay so what I think your saying is if i do something like this as the compilation command
Then when I run compilation again it will kill the buffer and running process and all will be good ?
I did wonder if that's perhaps the solution, although not sure how you would get the pid in a make file to kill the running instance, make files are not something I have played with much, I will see if others have any suggestions.