weaver icon indicating copy to clipboard operation
weaver copied to clipboard

multi deploy: not supported by windows

Open lemon-1997 opened this issue 1 year ago • 3 comments

when I executed weaver multi deploy weaver.toml, it doesn't work. config

[serviceweaver]
name = "weaver"
binary = "./weaver.exe"

temp/serviceweaver/logs/weaver-multiweaver..f1de7a14-6cfb-49fb-9f63-1fec84875a3b.error.log

,  
weaver
babysitter"$f1de7a14-6cfb-49fb-9f63-1fec84875a3b)#9N? 2error:dC:/Users/lemon/go/pkg/mod/github.com/!service!weaver/[email protected]/internal/babysitter/babysitter.go@?Je.RunRserviceweaver/systemR RerrRSfork/exec C:\Users\lemon\GolandProjects\weaver\weaver.exe: not supported by windows,  
weaver
babysitter"$f1de7a14-6cfb-49fb-9f63-1fec84875a3b)#9N? 2error:dC:/Users/lemon/go/pkg/mod/github.com/!service!weaver/[email protected]/internal/babysitter/babysitter.go@?Je.RunRserviceweaver/systemR RerrRSfork/exec C:\Users\lemon\GolandProjects\weaver\weaver.exe: not supported by windows

is weaver multiprocess does not support windows?

lemon-1997 avatar Mar 07 '23 12:03 lemon-1997

it's a bug and the team fixing it I guess. In the mean time you can change the name and delete files on /tmp/serviceweaver/logs/weaver-multi to try again to see if it help

charles-chenzz avatar Mar 08 '23 02:03 charles-chenzz

it's a bug and the team fixing it I guess. In the mean time you can change the name and delete files on /tmp/serviceweaver/logs/weaver-multi to try again to see if it help

delete files doesn't work. i think the problem is ExtraFiles is not supported on Windows.

// ExtraFiles specifies additional open files to be inherited by the
// new process. It does not include standard input, standard output, or
// standard error. If non-nil, entry i becomes file descriptor 3+i.
//
// ExtraFiles is not supported on Windows.
ExtraFiles []*[os](https://pkg.go.dev/os).[File](https://pkg.go.dev/os#File)

lemon-1997 avatar Mar 08 '23 02:03 lemon-1997

Duplicate of #81

rgrandl avatar Mar 10 '23 18:03 rgrandl