0
I want to identify when a specific program is being shut down, and run a script when it does.
Is there a way to do that on Windows?
The thing I had in mind is running automated git commit + push
commands on my android project, as soon as I exit Android Studio. Is it possible?
That's awesome, but wouldn't that execute the git commands as soon as android studio is opened, instead when it is closed? – Gershon Papi – 2016-01-23T07:46:48.567
This doesn't seem to work even with the /wait switch, the commands after the start work immediatly after, and not when I close android studio. I tried to do the same with notepad, so it's not an android studio issue. – Gershon Papi – 2016-01-23T08:34:33.167
@GershonPapi I will back on Windows after weekend and will check it... – g2mk – 2016-01-23T11:27:38.047
@GershonPapi /B don't work well with /W... – g2mk – 2016-01-25T15:29:25.203