Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 7a3800e

Browse files
committed
[[ Bug 22942 ]] Ensure the shellcommand defaults to COMSPEC on Windows
1 parent dcea6e1 commit 7a3800e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Toolset/home.livecodescript

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,6 @@ command revInternal__InitialiseDefaults
14021402
break
14031403
case "Windows"
14041404
set the hidePalettes to false
1405-
set the shellCommand to "cmd.exe"
14061405
hide stack "revCursors"
14071406
break
14081407
case "Linux"

Toolset/libraries/revcommonlibrary.livecodescript

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,7 @@ end revRunningWindowsNT
132132
on revSetWindowsShellCommand
133133
if the platform is not "Win32" then exit revSetWindowsShellCommand
134134
set the hideConsoleWindows to true
135-
if $COMSPEC is not empty then set the shellCommand to $COMSPEC
136-
else
137-
--just in case some windows versions don't use $COMSPEC
138-
if revRunningWindowsNT() then set the shellCommand to "cmd.exe"
139-
else set the shellCommand to "command.com"
140-
end if
135+
set the shellCommand to $COMSPEC
141136
end revSetWindowsShellCommand
142137

143138

0 commit comments

Comments
 (0)