driusan / de

A Programmer's Text Editor
MIT License
429 stars 26 forks source link

build problem on windows #44

Open chennqqi opened 7 years ago

chennqqi commented 7 years ago
unknown field 'Setsid' in struct literal of type syscall.SysProcAttr
unknown field 'Setctty' in struct literal of type syscall.SysProcAttr
unknown field 'Ctty' in struct literal of type syscall.SysProcAttr

github.com\driusan\de\plugins\shell\shell.go

windows golang packakge syscall dosen't contains this field

donquichotte commented 6 years ago

It also does not contain the SIGCHLD and Wait4 system calls.

%GOPATH%\src\github.com\driusan\de\deplumber\main.go:203:20: undefined: syscall.SIGCHLD
%GOPATH%\src\github.com\driusan\de\deplumber\main.go:206:4: undefined: syscall.Wait4
driusan commented 6 years ago

Thanks for pointing those out.. I managed to get it to build with GOOS=windows go build, but I don't have access to a windows machine to test it on anymore. Can someone confirm that it actually runs on Windows after 792f4eaf715b5914fc848c82ecbe3c207d18493a ?

hsoolien commented 6 years ago

It builds and runs but I get: deplumber not started. Plumbing not available.