Mercurial > cpython-lru_cache-weakref
view Mac/PythonLauncher/main.m @ 83447:678564fc0962 3.3
#17789: test_random now works with unittest test discovery. Patch by Zachary Ware.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Fri, 19 Apr 2013 05:45:27 +0300 |
| parents | a19c20c5e5c7 |
| children | 738cba2bf849 |
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); }
