appsody / controller

Appsody controller running in the development container. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
2 stars 12 forks source link

Create a sysProcAttr session in order to support TTY, remove Is dir check on events. #29

Closed kewegner closed 5 years ago

kewegner commented 5 years ago

In order for a tty to work, we need to change cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true} to. cmd.SysProcAttr = &syscall.SysProcAttr{Setsid: true}

I addition, we can not post process all directory events out for ON_CHANGE, so we will remove that temporary change from the previous PR.