Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)OL
olymk2 @alien.top
BOT
Posts 1
Comments 4
Any suggestions for a Kill Compile Run Execute sequence from emacs in a single step ?
  • Okay 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 ?

  • Any suggestions for a Kill Compile Run Execute sequence from emacs in a single step ?
  • 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.

  • Any suggestions for a Kill Compile Run Execute sequence from emacs in a single step ?

    Is there a way I can compile then run my compiled application, if its already running then exit recompile and run.

    So current work flow is compile switch to terminal run binary, switch back make changes compile return to terminal Ctrl + C to kill then run again, be nice if I could do all this from inside emacs.

    I guess a bash script could be an option but curious if others have this work flow and how it works ?

    Currently in a golang workflow but even better if there is a generic solution.

    10