START /IDLE

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
Add an /IDLE option (or another name that makes more sense) to START, to WaitForInputIdle() after starting the new process.

I wanted this for repeatedly calling a program which is single-instance. Its single-instance test was failing because START was launching it too fast; multiple copies were launched before instance #1 created its window.