X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2Fbuild%2Fbuild.py;h=bd14e273d299b7aa31c2e3b9e68aec9a70e53c0d;hp=45ccac1e139367961344c69e8798f7f7c19a5dc3;hb=34816e7e16c4c337888d2518222268096f67c4fc;hpb=717ba86de74f2970d57ac68616a5a8e86cf4770f diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index 45ccac1e13..bd14e273d2 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -1039,7 +1039,7 @@ class Build(): Process = Popen(args, stdout=PIPE, stderr=PIPE) else: args = ' && '.join((self.Prebuild, 'env > ' + PrebuildEnvFile)) - Process = Popen(args, stdout=PIPE, stderr=PIPE, shell=True, executable="/bin/bash") + Process = Popen(args, stdout=PIPE, stderr=PIPE, shell=True) # launch two threads to read the STDOUT and STDERR EndOfProcedure = Event() @@ -1081,7 +1081,7 @@ class Build(): if sys.platform == "win32": Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE) else: - Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE, shell=True, executable="/bin/bash") + Process = Popen(self.Postbuild, stdout=PIPE, stderr=PIPE, shell=True) # launch two threads to read the STDOUT and STDERR EndOfProcedure = Event() EndOfProcedure.clear()