Staging
v0.5.1
https://github.com/python/cpython
Revision bbfe6c3986dc61eecd592fb3a290fce6c089c4e7 authored by Serhiy Storchaka on 20 November 2016, 18:04:54 UTC, committed by Serhiy Storchaka on 20 November 2016, 18:04:54 UTC
1 parent 2ccb988
Raw File
Tip revision: bbfe6c3986dc61eecd592fb3a290fce6c089c4e7 authored by Serhiy Storchaka on 20 November 2016, 18:04:54 UTC
Issue #28666: Fix removing readonly directories on Windows.
Tip revision: bbfe6c3
main.m
//
//  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);
}
back to top