FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Mac/PythonLauncher/main.m at main · python/cpython · GitHub
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Mac
/
PythonLauncher
/
main.m
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (15 loc) · 340 Bytes
Breadcrumbs
cpython
/
Mac
/
PythonLauncher
/
main.m
Copy path
File metadata and controls
17 lines (15 loc) · 340 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
//
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
|
FazBrowse Home
|
New Git URL