Skip to content

Commit 15fb486

Browse files
committed
execute on Microsoft Windows without showing command line window
1 parent 5ea7ca2 commit 15fb486

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/PythonMcu.pyw

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# -*- coding: utf-8 -*-
2+
3+
"""
4+
PythonMcu
5+
=========
6+
Mackie Host Controller written in Python
7+
Copyright (c) 2011 Martin Zuther (http://www.mzuther.de/)
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <http://www.gnu.org/licenses/>.
21+
22+
Thank you for using free software!
23+
24+
"""
25+
26+
# to get rid of the Windows command line window, we'll simply use the
27+
# '.pyw' extension for this script and let it execute "PythonMcu.py"
28+
execfile('PythonMcu.py')

0 commit comments

Comments
 (0)