diff options
-rwxr-xr-x | bitbake/bin/bitbake-worker | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index 5d062a23e9b..963b4cdf931 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker @@ -436,8 +436,7 @@ class BitbakeWorker(object): self.build_pipes[pipe].read() try: - sys.stdin = sys.stdin.detach() - worker = BitbakeWorker(sys.stdin) + worker = BitbakeWorker(os.fdopen(sys.stdin.fileno(), 'rb')) if not profiling: worker.serve() else: |