We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26a141b commit a215104Copy full SHA for a215104
1 file changed
tests/testrunner.sh
@@ -24,6 +24,15 @@
24
#
25
# ----------------------------------------------------------
26
27
+pgid=$(ps -o pgid= $$)
28
+if [[ $pgid -ne $$ ]]; then
29
+ if [[ $(uname -s) == "Darwin" ]]; then
30
+ exec script -q /dev/null $0 $*
31
+ else
32
+ exec setsid $0 $*
33
+ fi
34
+fi
35
+
36
if [[ -t 1 ]] && [[ $(tput colors) -ge 8 ]]; then
37
declare -i counter=0
38
for color in Black Red Green Yellow Blue Magenta Cyan White; do
0 commit comments