lazygit/pkg/commands/oscommands
Stefan Haller 5fac40c129 Fix hang when returning from shell command
In 5a3049485c we changed the execution of shell commands to use an interactive
shell (-i), because this allows users to use aliases or shell functions, which
is a nice convenience.

Since then, however, many users have reported problems with lazygit not coming
back to the foreground after executing a shell command. Some users report that
appending "; exit" to the end of the command line solves this. I don't really
understand what the cause of this problem was, or why appending "; exit" solves
it, but if it helps, let's do it.
2024-12-28 14:53:57 +01:00
..
cmd_obj.go Remove secureexec package 2023-07-30 19:59:51 +10:00
cmd_obj_builder.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
cmd_obj_runner.go [DATALAD RUNCMD] Do interactive fixing of some ambigous typos 2024-08-27 18:03:00 +02:00
cmd_obj_runner_default.go more refactoring 2022-01-09 14:09:53 +11:00
cmd_obj_runner_test.go Add Token credential request handling 2024-07-06 21:44:10 +10:00
cmd_obj_runner_win.go add deadlock mutex package 2022-08-07 11:16:14 +10:00
cmd_obj_test.go Remove secureexec package 2023-07-30 19:59:51 +10:00
copy.go chore: use errors.New to replace fmt.Errorf with no parameters. 2024-04-24 16:21:34 +08:00
dummies.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
fake_cmd_obj_runner.go Remove secureexec package 2023-07-30 19:59:51 +10:00
gui_io.go Use first class task objects instead of global counter 2023-07-09 21:30:19 +10:00
os.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
os_default_platform.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
os_default_test.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
os_test.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
os_windows.go Fix hang when returning from shell command 2024-12-28 14:53:57 +01:00
os_windows_test.go Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00