Spawning new process

Started by
0 comments, last by Roxypinky 13 years, 4 months ago
Hey all,

I'm putting something together that monitors when a process crashes and force a minidump file + crash report and in order to help debug and test it while it's being made I'm making it launch a dummy process when started so it had something it can attached to. This dummy process listen to specific keystrokes and respond by crashing. I'm using ShellExecute to start the dummy process and it launch the dummy process (I see the console window) but is suspended or something (it's supposed to write 'test' in the console every second). I can launch anything else (notepad.. etc) and it works fine and oddly enough, if I copy the line that launch the dummy process twice, the second instance will run.

Any ideas?

Thanks,
-Roxy
Advertisement
Oh boy I feel retarded ;) The monitoring code was suspending the process when attaching... time to go to bed :P

This topic is closed to new replies.

Advertisement