Sign in to follow this  
Roxypinky

Spawning new process

Recommended Posts

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this