Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run dot net core application in detached mode using "dotnet run" command

Tags:

.net

.net-core

when we run dot net core application in linux using dotnet run command we have following output on terminal enter image description here

Where it asks to press 'ctrl+c' to end application.

I want to run this application in detached mode so that my terminal will not hold with output screen like shown in above pic.

like image 522
Dhiraj Avatar asked Nov 30 '17 05:11

Dhiraj


1 Answers

I have managed to do this using nohup command.

nohup dotnet ReportGenerator.Web.dll > dotnetcore.log &
like image 174
Dhiraj Avatar answered Nov 15 '22 08:11

Dhiraj