mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-24 22:21:45 +03:00
use exec in serve script
This commit is contained in:
parent
3ac6cdf955
commit
ce3bfc5b9c
@ -20,7 +20,7 @@ fi
|
||||
cd "$TARGET"
|
||||
|
||||
if python --version | grep -qE '^Python 3'; then
|
||||
python -m http.server
|
||||
exec python -m http.server
|
||||
else
|
||||
python -m SimpleHTTPServer
|
||||
exec python -m SimpleHTTPServer
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user