zorael / kameloso

IRC bot with Twitch support
Boost Software License 1.0
9 stars 3 forks source link

Windows `execvp` #165

Closed zorael closed 1 year ago

zorael commented 1 year ago

This implements re-execution on reconnects on Windows.

Windows has no execvp, so we fake the behaviour by spawning a new process in a minimised cmd.exe/Powershell console. It's better than nothing.

zorael commented 1 year ago

Dropping support for spawning it in a cmd.exe console. Getting it to run with passed arguments seems tricky.