diff options
| author | Chris Larson <chris_larson@mentor.com> | 2010-12-19 19:30:49 -0700 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:52 +0000 |
| commit | 93e20c51c4cbb345119b83a964409932af417df3 (patch) | |
| tree | 83b0762892190632b5eb8b69653367b2b2f14e2a /bitbake/lib/bb/runqueue.py | |
| parent | 4dc97cb8459a28b6e5af06678960a06dc0a45b5e (diff) | |
| download | poky-93e20c51c4cbb345119b83a964409932af417df3.tar.gz | |
Use os.devnull, not /dev/null
(Bitbake rev: ce5ab0fc524a1c2c48c4c39d6fc8aae23019207b)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
| -rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index d4cea7d5d4..ee7cfe7d61 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
| @@ -1140,7 +1140,7 @@ class RunQueueExecute: | |||
| 1140 | # Make the child the process group leader | 1140 | # Make the child the process group leader |
| 1141 | os.setpgid(0, 0) | 1141 | os.setpgid(0, 0) |
| 1142 | # No stdin | 1142 | # No stdin |
| 1143 | newsi = os.open('/dev/null', os.O_RDWR) | 1143 | newsi = os.open(os.devnull, os.O_RDWR) |
| 1144 | os.dup2(newsi, sys.stdin.fileno()) | 1144 | os.dup2(newsi, sys.stdin.fileno()) |
| 1145 | # Stdout to a logfile | 1145 | # Stdout to a logfile |
| 1146 | #logout = data.expand("${TMPDIR}/log/stdout.%s" % os.getpid(), self.cfgData, True) | 1146 | #logout = data.expand("${TMPDIR}/log/stdout.%s" % os.getpid(), self.cfgData, True) |
