aboutsummaryrefslogtreecommitdiff
path: root/tkinter.py
diff options
context:
space:
mode:
Diffstat (limited to 'tkinter.py')
-rwxr-xr-x[-rw-r--r--]tkinter.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tkinter.py b/tkinter.py
index 99dcaa1..136f1a2 100644..100755
--- a/tkinter.py
+++ b/tkinter.py
@@ -1,3 +1,5 @@
+#!/usr/bin/python
+
import subprocess
import sys
import tkinter
@@ -12,7 +14,7 @@ root.title('SD GUI')
# Start SD
proc = subprocess.Popen(
- sys.argv[1:] + ['-n'], stdin=subprocess.PIPE, stdout=subprocess.PIPE
+ [sys.path[0] + '/sd', *sys.argv[1:], '-n'], stdin=subprocess.PIPE, stdout=subprocess.PIPE
)
# Display key