node-pty
node-pty copied to clipboard
spawn-helper hangs when nofile limit is large
Environment details
- OS: Linux
- OS version: 6.1.9-arch1-1
- node-pty version: 0.11.0-beta27
Issue description
spawn-helper seems traversing fd to nofile and close them. When running on a Linux system configured with high nofile limit (in this case, 2147483583), this takes a long time and cause vscode to popup pty host process is unresponsive
notifications.
Maybe /proc/self/fd
can be used to get all fds to be closed ?