Replies: 1 comment
-
I think you'll need a shebang recipe for this: test:
#!/usr/bin/env bash
set -euxo pipefail
my_server &
SERVER_PID=$!
run_server_tests || kill $SERVER_PID |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to write something that resembles this in Justfile - any hint? In essence, capture the program's PID then eventually kill it.
Beta Was this translation helpful? Give feedback.
All reactions