Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
e54d4775
Commit
e54d4775
authored
8 months ago
by
Javier Sagredo
Committed by
Mikolaj
8 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Clarify why we can't run .bat files
parent
174721d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Cabal/src/Distribution/Simple/Utils.hs
+7
-0
7 additions, 0 deletions
Cabal/src/Distribution/Simple/Utils.hs
with
7 additions
and
0 deletions
Cabal/src/Distribution/Simple/Utils.hs
+
7
−
0
View file @
e54d4775
...
...
@@ -1950,6 +1950,13 @@ exeExtensions = case (buildArch, buildOS) of
-- Possible improvement: on Windows, read the list of extensions from the
-- PATHEXT environment variable. By default PATHEXT is ".com; .exe; .bat;
-- .cmd".
--
-- See also #10179.
--
-- Also we cannot actually run @.bat@ files as we do now, because of
-- https://github.com/haskell/process/issues/140. If we detect one of those,
-- we should record that the program is a script and run a @Process.shell@ instead
-- of a @Process.proc@.
(
_
,
Windows
)
->
[
""
,
"exe"
]
(
_
,
Ghcjs
)
->
[
""
,
"exe"
]
(
Wasm32
,
_
)
->
[
""
,
"wasm"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment