Skip to content
Snippets Groups Projects
Commit e54d4775 authored by Javier Sagredo's avatar Javier Sagredo Committed by Mikolaj
Browse files

Clarify why we can't run .bat files

parent 174721d9
No related branches found
No related tags found
No related merge requests found
......@@ -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"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment