Test for POSIX style exit handling
Implement POSIX style exit handling
Merge pull request #48 from Jimdo/posix_compatible_exit_handling

POSIX compatible exit handling