Quote:
Originally Posted by WiredGuy
Me too, trying to port a software from Linux to Windows and I'm stuck on the batch script to run it all, simple things like extracting the PID (ie: equivalent to doing ./program.sh and then echo $!) on Windows is a lot tougher than I thought it would be.
Or figuring out why a program hangs when I disconnect from Remote Desktop Connection (RDC) but works fine when I'm logged in. Simple shit that works really easily in linux but on winblows, who knows why it won't work, lol.
WG
|
That's the problem. You're trying to trap exits, not crashes.

I'll take a look, and see what I can do for you. I'm still more of a PHP/Bourne/Perl person than anything, though.
Half the reason it hangs is because a lot of that software grabs the windows equivalent of your "terminal", and when you disconnect, it's not "nohupped". Why is the bastard process attaching to the console, anyhow?!
Quote:
Originally Posted by Ice
I do need something done that I can't find. Hit me up on icq tomorrow
|
Consider it done. Thanks!
