FTXUI/examples/run_webassembly.sh
2021-03-22 00:26:52 +01:00

7 lines
127 B
Bash
Executable File

#! /bin/bash
python3 -m http.server 8888 &
P1=$!
trap 'kill 0' SIGINT; P1
python3 -m webbrowser http://localhost:8888
wait $P1