gpt4 book ai didi

.net - 如何使用 "dotnet run"命令在分离模式下运行 dot net core 应用程序

转载 作者:行者123 更新时间:2023-12-03 15:25:00 28 4
gpt4 key购买 nike

当我们使用 dotnet run 在 linux 中运行 dot net core 应用程序时命令我们在终端上有以下输出
enter image description here

哪里要求按'ctrl+c'结束申请。

我想在分离模式下运行这个应用程序,这样我的终端就不会像上图一样显示输出屏幕。

最佳答案

我已经使用 nohup 命令设法做到了这一点。

nohup dotnet ReportGenerator.Web.dll > dotnetcore.log &

关于.net - 如何使用 "dotnet run"命令在分离模式下运行 dot net core 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47566378/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com