mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-21 15:01:16 -03:00
Add warning about broken zombie support on setpgid() fail under WSL
This commit is contained in:
@@ -106,6 +106,11 @@ bool child_set_group(job_t *j, process_t *p) {
|
||||
1, "Could not send own process %s, '%s' in job %s, '%s' from group %s to group %s",
|
||||
pid_buff, argv0, job_id_buff, command, getpgid_buff, job_pgid_buff);
|
||||
|
||||
if (is_windows_subsystem_for_linux() && errno == EPERM) {
|
||||
debug_safe(1, "Please update to Windows 10 1809/17763 or higher to address known issues "
|
||||
"with process groups and zombie processes.");
|
||||
}
|
||||
|
||||
safe_perror("setpgid");
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user