Index: source/Host/macosx/Host.mm =================================================================== --- source/Host/macosx/Host.mm +++ source/Host/macosx/Host.mm @@ -471,6 +471,7 @@ command.Printf(" '%s'", exe_path); } command.PutCString (" ; echo Process exited with status $?"); + command.PutCString (" ; exit"); StreamString applescript_source;