EgorMaksimov / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Setting commands to run when closing #184

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Can i set some commands to run when closing mintty? When windows shuting 
down, i need to stop my scripts.

Original issue reported on code.google.com by leventd...@gmail.com on 1 May 2010 at 4:28

GoogleCodeExporter commented 8 years ago
No, I think that's the shell's job. Bash executes ~/.bash_logout when a login 
shell 
exits, and you can trap the HUP signal that mintty sends when the close button 
is 
pressed.

Original comment by andy.koppe on 2 May 2010 at 5:10