1 Answer
- Newest
- Most votes
- Most comments
3
Hi,
In linux, to run any command in background put an & at the end of the command and also consider using nohup.
As an example, please see below:
nohup python3 -m uvicorn api:app &
You should now be able to see the process running in the output of the below command:
ps -ef
Hope this helps!
Thanks, Rama
Relevant content
- asked a year ago
