Mercurial > cpython-lru_cache-weakref
view Mac/PythonLauncher/main.m @ 71607:df415bfbb652 2.7
Document that atexit execution order is undefined (#9788)
| author | Éric Araujo <merwok@netwok.org> |
|---|---|
| date | Fri, 29 Jul 2011 18:04:24 +0200 |
| parents | 1cb2ece4b9e1 |
| children | 5d41ebc79738 |
line wrap: on
line source
// // main.m // PythonLauncher // // Created by Jack Jansen on Fri Jul 19 2002. // Copyright (c) 2002 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> #include <unistd.h> int main(int argc, const char *argv[]) { char *home = getenv("HOME"); if (home) chdir(home); return NSApplicationMain(argc, argv); }
