-
Notifications
You must be signed in to change notification settings - Fork 32
sh: fixes #393
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
sh: fixes #393
Conversation
|
Unfortunately does not fix the issue. Looks like the syscall is returning EINVAL, which suggests some invalid paramters are being passed? The line that is failing is |
|
@jgarzik unfortunately I don't have mac so I can't test it there. I tried it on FreeBSD and it gave EPERM, but it works if I pass the child process group id (although I thought that pgid and pid were the same if child is the group leader, but I guess not on all systems). |
|
Working now, thanks |
|
There is a new warning to fix: |
should fix #389. Also correctly handles SIGINT in interactive mode