Creating custom spinners

Is it possible to create a custom spinner? I have the following in a script


  local -r pid="${1}"
  local -r delay='0.3'
  local spinstr='\|/-'
  local temp
  while ps a | awk '{print $1}' | grep -q "${pid}"; do
    printf " %c  " "${spinstr}"
    sleep "${delay}"
    printf "\b\b\b\b\b\b"
  printf "    \b\b\b\b"

("$@") &
show_spinner "$!"

When I parse the command locally it runs, however on circle-ci in the step where the script runs, the default circle-ci spinner is the one that shows up.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.