Signal 18 is just the handler for Ctrl+Z. (Technically it maps to SIGTSTP
.) The signal tells the process to suspend. Since the signal is generally meaningless to a Windows process, git-bash suppresses the message, but it still lets you know that it suppressed that signal.
Unfortunately, MinTTY, the default git-bash terminal, doesn't connect up the console correctly for native Windows console applications. So even ignoring the warning message, the python interpreter isn't really working correctly anyway. (More info)
In order to get python hooked up correctly you need to use winpty
to launch python. The command:
winpty python test.py
will work. You could also use git-cmd if you need access to git commands, or open a standard Windows command prompt and run python there if you don't.