mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
Fix handling of signals (#4851)
This commit is contained in:
committed by
ridiculousfish
parent
c0535b4e13
commit
517b77ca74
@@ -360,10 +360,8 @@ static bool can_use_posix_spawn_for_job(const job_t *job, const process_t *proce
|
||||
|
||||
void internal_exec(job_t *j, const io_chain_t &&all_ios) {
|
||||
// Do a regular launch - but without forking first...
|
||||
signal_block();
|
||||
|
||||
// setup_child_process makes sure signals are properly set up. It will also call
|
||||
// signal_unblock.
|
||||
// setup_child_process makes sure signals are properly set up.
|
||||
|
||||
// PCA This is for handling exec. Passing all_ios here matches what fish 2.0.0 and 1.x did.
|
||||
// It's known to be wrong - for example, it means that redirections bound for subsequent
|
||||
|
||||
Reference in New Issue
Block a user