Jump to content
  • Advertisement
Sign in to follow this  

Spawning new process

This topic is 2786 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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?


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!