Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d1bbd28fb0
commit
416b921d71
3 files changed
+4
-4
No files matched your search
@@ -7,7 +7,7 @@ import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
// restart replaces this process with the new binary, with the same arguments and environment.
|
||||
func restart(exe string) error {
|
||||
// Restart replaces this process with the new binary, with the same arguments and environment.
|
||||
func Restart(exe string) error {
|
||||
return syscall.Exec(exe, os.Args, os.Environ())
|
||||
}
|
||||
Reference in new issue
Block a user