hide riot static server output

pull/21833/head
Bruno Windels 2018-07-27 13:29:59 +02:00
parent 6ae5a7bd97
commit c9461dd296
1 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
BASE_DIR=$(realpath $(dirname $0)) BASE_DIR=$(realpath $(dirname $0))
pushd $BASE_DIR pushd $BASE_DIR > /dev/null
pushd riot-web/webapp/ pushd riot-web/webapp/ > /dev/null
python -m SimpleHTTPServer 8080 & python -m SimpleHTTPServer 8080 > /dev/null 2>&1 &
PID=$! PID=$!
popd popd > /dev/null
echo $PID > riot.pid echo $PID > riot.pid
popd popd > /dev/null