Devex: Fix vite devserver capturing stdin (#6267)

Pass DEVNULL as stdin to vite, otherwise the vite devserver captures parts of stdin, making things like pasting during debugging impossible
This commit is contained in:
pajowu
2026-06-11 16:25:48 +02:00
committed by GitHub
parent 63ebe16fd3
commit 8e63fafc62

View File

@@ -44,7 +44,8 @@ class Command(Parent):
# Start the vite server in the background
vite_server = subprocess.Popen(
["npm", "run", "dev:control"],
cwd=Path(__file__).parent.parent.parent.parent.parent
cwd=Path(__file__).parent.parent.parent.parent.parent,
stdin=subprocess.DEVNULL
)
def cleanup():