我想从预构建步骤启动应用程序。但是,我不希望Visual Studio等待应用程序关闭。

基本上,我需要在调试会话之前启动一个模拟引擎。

这可能吗?我尝试过像“start app.exe”这样的命令。和“cmd start app.exe”...

有帮助吗?

解决方案 2

这就是我最终做到这一点的方式。

它有点像“duh”。那一刻,但我创建了一个简单的控制台应用程序,它启动一个进程并返回。

感谢Eugene的建议。

其他提示

是“start / b”你在找什么?它启动命令并立即返回。

C:\>start /b ping stackoverflow.com

C:\>
Pinging stackoverflow.com [69.59.196.211] with 32 bytes of data:
Reply from 69.59.196.211: bytes=32 time=153ms TTL=44

C:\>Reply from 69.59.196.211: bytes=32 time=153ms TTL=44

C:\>Reply from 69.59.196.211: bytes=32 time=153ms TTL=44

C:\>
C:\>Reply from 69.59.196.211: bytes=32 time=154ms TTL=44

Ping statistics for 69.59.196.211:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 153ms, Maximum = 154ms, Average = 153ms

C:\>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top