in reply to Close EXE & die command

pbhandari:

I think the problem is that you're using start to run your program. So perl is getting the result of start rather than the result of your my.exe program.

...roboticus