View Single Post
Old 10-28-2008, 09:14 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by WiredGuy View Post
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 View Post
I do need something done that I can't find. Hit me up on icq tomorrow
Consider it done. Thanks!
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote