Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
@@ -0,0 +1,6 @@
+---
+"cli.rs": patch
+"cli.js": patch
+
+Fix shebang for `kill-children.sh`.
@@ -1,5 +1,7 @@
-function getcpid() {
- cpids=`pgrep -P $1|xargs`
+#!/usr/bin/env sh
+getcpid() {
+ cpids=$(pgrep -P $1|xargs)
for cpid in $cpids;
do
echo "$cpid"