Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Upon running a bash script via exec on Windows 7, putty crashes. The putty application closes unexpectedly without any errors that I can see.

How can I figure out why it's crashing?

EDIT Running a script inside of putty results in putty crashing.

share|improve this question

There is the -v flag for a more verbose output, but what is the command that is crashing anyhow?

share|improve this answer
exec <some script> and . ./<some script> – Kevin Meredith Jun 3 '13 at 16:15
So it's not actually calling putty that causes it to crash? It might be trying to use some of putty's resources.. – NickW Jun 3 '13 at 16:18
oh. correct, running the script after putty is up and running is causing the issue. putty crashes when I try to run the script – Kevin Meredith Jun 3 '13 at 16:21
OK, so you open putty to do other things (is it connected, or unconnected, and does this make a difference?) and then run the script and putty crashes? – NickW Jun 3 '13 at 16:23
After using putty to ssh to a server, I run a script that causes putty to crash. I've used putty before on this server for an extended amount of time without any crash before. – Kevin Meredith Jun 3 '13 at 16:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .