How to run http.server command in background on Mac OSX

2.8k views Asked by At

I've requirement to share static html pages within intranet. I figured out that http.server is working perfectly for this purpose.

python -m http.server 8080

Instead of keeping terminal open, I want to run the command in background.

1

There are 1 answers

0
vikramvi On BEST ANSWER

Found answer in post

Run python in terminal and dont terminate it when terminal is closed

This question can be marked duplicate of above post than one suggested by comment

Thanks & Regards, Vikram