什么是好的 "NOP" 可执行文件,可以在 Windows 上启动,它是内置的但什么都不做?

What is a good "NOP" executable to start on Windows that is built-in and does nothing?

我正在编写一个处理子进程的库。为了为其编写测试,我需要能够启动一个立即退出的子进程。

Windows 上有什么好的内置可执行文件,我可以将其用作“虚拟进程”?

  • rundll32.exe(没有UI的GUI申请)
  • subst.exe(无控制台输出)
  • xcopy.exe
  • find.exe
  • control.exe /!(GUI 没有 UI 的应用程序)
  • cmd.exe /c exit
  • cscript.exe