-
Fixes an inconsistency of `getFullArgs` across operating systems. On non-Windows systems the returning list did not include the program name as the first element, while on Windows systems it did. As `System.Environment` depends on this behaviour of `getFullArgs` under Windows, this is now the behaviour across all operating systems. Computation `getFullArgs` is now like the "raw" version of `getArgs`, similar to `argv` in other languages. This patch also fixes T10728 under Windows. Reviewers: austin, hvr, erikd, #ghc_windows_task_force, Phyx, bgamari Reviewed By: #ghc_windows_task_force, Phyx, bgamari Subscribers: Phyx, thomie Differential Revision: https://phabricator.haskell.org/D1713
b093e631