DarthSim / overmind

Process manager for Procfile-based applications and tmux
MIT License
2.86k stars 81 forks source link

Silently fails to load .env with multiline variables #172

Closed shanesmith closed 7 months ago

shanesmith commented 7 months ago

If a .env contains a multiline variable overmind will silently fail to load the whole file.

$ cat .env
FOO='foo'
BAR='
multi
line
'

$ overmind run bash -c 'echo "Values: $FOO $BAR"'
Values:
Envek commented 7 months ago

Thanks! I upgraded godotenv dependency to the version supporting multiline vars.

I did it not because it was easy, but because I thought it would be easy.

Install overmind via go install and enjoy!

shanesmith commented 7 months ago

Thanks for the very prompt attention to this!

We currently install from the binaries, any chance this would trigger a release?

Envek commented 7 months ago

Probably we will make a release later this month.

Envek commented 6 months ago

Released in 2.5.0, please enjoy.

shanesmith commented 6 months ago

Much appreciated!