badalsahani's picture
feat: chroma initial deploy
287a0bc
raw
history blame contribute delete
270 Bytes
package utils
import (
"io"
"github.com/rs/zerolog/log"
)
func RunProcess(startProcess func() (io.Closer, error)) {
process, err := startProcess()
if err != nil {
log.Fatal().Err(err).
Msg("Failed to start the process")
}
WaitUntilSignal(
process,
)
}