Merge pull request #927 from bcrtvkcs/main

Fix FreeRDP /app:cmd quote parsing breaking batch script execution
This commit is contained in:
Oskar Manhart
2026-05-15 22:13:58 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ repos:
rev: v1.5.6
hooks:
- id: chmod
args: [ "775" ]
args: [ "755" ]
files: (\.sh|winapps)$
- id: forbid-crlf
exclude: '\.(bat|cmd|reg)$'
+1 -1
View File
@@ -1266,7 +1266,7 @@ function waFindInstalled() {
/scale:"$RDP_SCALE" \
+auto-reconnect \
+home-drive \
/app:program:"C:\Windows\System32\cmd.exe",cmd:"/C "$BATCH_SCRIPT_PATH_WIN"" \
/app:program:"C:\Windows\System32\cmd.exe",cmd:"/C $BATCH_SCRIPT_PATH_WIN" \
/v:"$RDP_IP":"$RDP_PORT" &>"$FREERDP_LOG" &
# Store the FreeRDP process ID.