elvish/pkg/shell
Kurtis Rader c30a9ff9ad Tell external cmds to ignore job control signals
Since elvish does not support job control it should run all external
commands with the tty job control signals set to be ignored. See "APUE",
third edition, page 379.

This doesn't actually fix the problem in the case of broken programs
like vim which blindly assume the parent process implements job control.
But there isn't much we can do about that other than try to get those
programs to pay attention to being told to ignore SIGTSTP.

Fixes #988
2020-07-11 14:18:42 +01:00
..
editor.go pkg/eval: Use eval.ChopLineEnding everywhere for removing line ending. 2020-05-06 23:10:57 +01:00
errors_to_json_test.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
errors_to_json.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
interact_test.go Panic during shell unit tests should be failures 2020-07-11 14:16:48 +01:00
interact.go Panic during shell unit tests should be failures 2020-07-11 14:16:48 +01:00
paths_test.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
paths_unix_test.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
paths_unix.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
paths_windows.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
paths.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
runtime.go pkg/eval: Move the show command into the builtin namespace. 2020-06-30 22:36:27 +01:00
script_test.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
script.go Panic during shell unit tests should be failures 2020-07-11 14:16:48 +01:00
shell_test.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
shell_unix_test.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
shell.go Tell external cmds to ignore job control signals 2020-07-11 14:18:42 +01:00
signal_unix.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00
signal_windows.go pkg/prog/{shell,web} -> pkg/{shell,web}. 2020-04-25 00:12:18 +01:00