[#7116] exclude syscall.Exec for WASM

This commit is contained in:
Jesse Sivonen authored and GitHub committed 2025-08-22 20:44:13 +03:00
1 parent b8f18bd97d
commit 3ca6321907
3 files changed
+19 -2

No files matched your search

+1 -2
View File
@@ -12,7 +12,6 @@ import (
"regexp"
"runtime"
"strings"
"syscall"
"time"
"github.com/fatih/color"
@@ -773,7 +772,7 @@ func (app *BaseApp) Restart() error {
}
}()
return syscall.Exec(execPath, os.Args, os.Environ())
return exec(execPath, os.Args, os.Environ())
})
}