-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove node-pipe dependency #2956
Conversation
Rely on Node to create a pipe instead.
To verify that $ yarn start and then did the following in a second terminal. $ pgrep -fl 'zed serve'
41685 /Users/noah/brimdata/zui/apps/zui/zdeps/zed serve -l :9867 -lake /Users/noah/brimdata/zui/apps/zui/run/lake -log.level=info -log.filemode=rotate -log.path /Users/noah/brimdata/zui/apps/zui/run/logs/zlake.log --cors.origin=* -brimfd=3
$ pgrep -fl '/zui/.*/Electron \.'
41676 /Users/noah/brimdata/zui/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron .
$ pkill -9 -f '/zui/.*/Electron \.'
$ pgrep -fl '/zui/.*/Electron \.'
$ pgrep -fl 'zed serve' |
Now that this has merged, I've verified it on all our supported OSes with Zui Insiders 1.5.1-8 using the same approach as from #1018 (comment). In all cases the abrupt killing of the parent Zui Insiders process trigged the subsequent disappearance of the corresponding macOS
Linux
WindowsVerify.mp4Thanks @nwt! |
Rely on child_process.spawn() to create a pipe instead.
Closes #1165.