i'd like to use bash shell from msys2 in emacs and i made the following changes in emacs init file:
(setq explicit-shell-file-name "C:/tools/msys64/usr/bin/bash.exe")
(setq shell-file-name "bash")
(setq explicit-bash.exe-args '("--login" "-i"))
(setenv "SHELL" shell-file-name)
(setenv "BASH_ENV" "~/.bashrc")
(setq shell-command-switch "-c")
(add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
the shell start and seems work but i got the following error:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
What's the problem?