diff options
Diffstat (limited to 'main.py')
-rwxr-xr-x[-rw-r--r--] | main.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +#!/usr/bin/python + import subprocess import sys from PyQt6.QtWidgets import QApplication, QMainWindow, QLabel @@ -14,7 +16,7 @@ class SDGUI(QMainWindow): # Start SD self.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 |