View Single Post
Old 10-28-2008, 09:22 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by WiredGuy View Post
You're a perl lover too huh ;)

Yeah, I've tried to get the equivalent of $! on linux which I'm pretty sure isn't going to happen. At this point I'm using "start 'unique identifier' programname.exe" and going to write a win32 perl script to extract the PID of unique identifier. Its really BS, but it seems like that'll work.

I'm not sure how to get around the hanging launches though. Ironically enough, its hanging on the "start programname.exe" from above. So fixes the PID problem, and creates another...
WG
You're a shitty hack. I can respect that.

Look at Winternals (Now owned by Microsoft), they have some fork() compatible tools that return codes. If that doesn't help, I'd be more than happy to hold your hand as we skip through Redmond.

Quote:
Originally Posted by sharphead View Post
I prefer to write dirty code... I need to keep GrouchyAdmin employed you know.
You just laugh at my shitty jokes - but, hey, anything's better than nothing!

...and thank you for your support!
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote