Skip to content

Commit

Permalink
Revert "fix Issue 14282 - executeShell should use sh and ignore the S…
Browse files Browse the repository at this point in the history
…HELL env variable"

This reverts commit a524a35.
  • Loading branch information
CyberShadow committed Sep 3, 2015
1 parent 5f165ae commit 5b2b1fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/process.d
Expand Up @@ -2224,8 +2224,8 @@ $(D "/bin/sh").
@property string userShell() @safe
{
version (Windows) return environment.get("COMSPEC", "cmd.exe");
else version (Android) return "/system/bin/sh";
else version (Posix) return "/bin/sh";
else version (Android) return environment.get("SHELL", "/system/bin/sh");
else version (Posix) return environment.get("SHELL", "/bin/sh");
}


Expand Down

0 comments on commit 5b2b1fb

Please sign in to comment.