Skip to content

Commit

Permalink
Add Linux support for scripts (#38)
Browse files Browse the repository at this point in the history
* kill(1) on linux requires pid, fix script exiting

* more fixes for kill(1) on linux

* fix
  • Loading branch information
rczhang authored Feb 1, 2024
1 parent 7218e94 commit 7077e7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/cli.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lsof -t -i:32123 | xargs kill && \
(lsof -t -i:32123 | xargs kill) || true && \
ibazel run //mesop/cli -- --path="mesop/mesop/example_index.py"
2 changes: 1 addition & 1 deletion scripts/run_py_dev.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lsof -t -i:32123 | xargs kill && \
(lsof -t -i:32123 | xargs kill) || true && \
ibazel run //mesop/cli:dev_cli -- --path="mesop/mesop/example_index.py"
2 changes: 1 addition & 1 deletion scripts/run_web_dev.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lsof -t -i:4200 | xargs kill && \
(lsof -t -i:4200 | xargs kill) || true && \
MESOP_SERVER_HOST="http://localhost:32123" ibazel run //mesop/web/src/app/dev:server

0 comments on commit 7077e7d

Please sign in to comment.