• 请不要在回答技术问题时复制粘贴 AI 生成的内容
feijilei
V2EX  ›  程序员

c++ 能不能同时启动两个exe?

  •  
  •   feijilei · Jun 2, 2013 · 4085 views
    This topic created in 4908 days ago, the information mentioned may be changed or developed.
    比如我想同时启动 n.exe 和m.exe (启动第二个程序,不需要等待第一个程序结束完再启动)
    8 replies  •  1970-01-01 08:00:00 +08:00
    Ricepig
    Ricepig
    Jun 2, 2013 via iPhone
    1
    各平台都有新开进程的api阿。。。
    Ricepig
    Ricepig
    Jun 2, 2013 via iPhone
    2
    windows下你是指的shellex?
    jasontse
    jasontse
    Jun 2, 2013 via iPad
    3
    win? CreateProcess本来不就是立即返回的吗,如果你没有使用WaitForSingleObject函数是不会等到进程退出的啊?
    bradlee
    bradlee
    Jun 2, 2013
    4
    createprocess/fork
    Ultratude
    Ultratude
    Jun 2, 2013
    5
    搞木马么?
    sqbing
    sqbing
    Jun 3, 2013
    6
    请问,这个问题和C++有半点关系嘛?
    feijilei
    feijilei
    OP
    Jun 3, 2013
    7
    @sqbing 用c++写程序去启动两个程序
    bengol
    bengol
    Jun 3, 2013 via Android
    8
    @feijilei 还是跟c++没关系
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2550 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:22 · PVG 19:22 · LAX 03:22 · JFK 06:22
    ♥ Do have faith in what you're doing.