Mercurial > cpython-lru_cache-weakref
view Mac/PythonLauncher/main.m @ 86127:a3d09c19bb93
merge with 3.3
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 06 Oct 2013 19:24:00 +0200 |
| parents | 738cba2bf849 |
| children |
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); }
