2006-06-07 15:58:01 -03:00
|
|
|
//
|
|
|
|
// 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[])
|
|
|
|
{
|
2013-07-07 04:49:23 -03:00
|
|
|
char *home = getenv("HOME");
|
|
|
|
if (home) chdir(home);
|
2006-06-07 15:58:01 -03:00
|
|
|
return NSApplicationMain(argc, argv);
|
|
|
|
}
|