To create a new interactive bash shell I call bash -i
. Due to issues with my environment, bash cannot assert job control (I'm using cygwin bash in GNU emacs) and issues warnings ("cannot set terminal process group" and "no job control in this shell"). - I have to live with the disabled job control in my environment, but I would like to get rid of the warning:
How can I tell bash not to assert job control and not to issue these warnings? I obviously still want the shell as an interactive one.
Note: I have tried set -m
in .bashrc
, but bash still writes out the warnings on start up - the ~/.bashrc
file might be executed after the shell tries to assert job control. Is there a command line option which would work?