2017-01-09 134 views
0

我有要求在Intranet內共享靜態html頁面。我想到http.server正在爲此目的完美工作。如何在Mac OSX上的後臺運行http.server命令

蟒蛇-m http.server 8080

而是保持終端開放的,我想在後臺運行的命令。

+0

看看如何通過'LaunchDaemon'運行程序。 – Barmar

+0

[如何將SimpleSocket服務器移動到後臺進程]可能的重複(http://stackoverflow.com/questions/41334729/how-to-move-simplesocket-server-into-a-background-process) –

回答