Closed zorael closed 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.
execvp
cmd.exe
Dropping support for spawning it in a cmd.exe console. Getting it to run with passed arguments seems tricky.
This implements re-execution on reconnects on Windows.
Windows has no
execvp
, so we fake the behaviour by spawning a new process in a minimisedcmd.exe
/Powershell console. It's better than nothing.