[Issue 15000] Changes to userShell either need to be reverted or the std.process documentation needs to be updated

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Sep 3 06:30:59 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15000

--- Comment #4 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to Jonathan M Davis from comment #0)
> The change to userShell did break one of my programs (the one I used to
> build dmd, druntime, and Phobos actually), and someone else in D.Learn ran
> afoul of the change:
> 
> http://forum.dlang.org/post/ozueqlrtifopffmumbcl@forum.dlang.org

I should add that option 2 is not going to fix these. But although option 1
(revert the change) would fix these programs, I'd argue that these programs are
incorrect. If the user's SHELL was set to a bash-incompatible shell, these
programs will fail.

Also, option 2 (which is what the PR above does) removes all *uses* of
userShell on POSIX from std.process, essentially reserving it for use by D
users (e.g. if they want to start the machine user's preferred shell).

--


More information about the Digitalmars-d-bugs mailing list