aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-30 12:50:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-30 13:03:40 +0000
commit1347381b4f93b318fadc2360c4adf0c68b562b13 (patch)
tree0143bf1e65df6b4f6b13c7a444ad6d8b75f5f8a3 /scripts
parent53071c6b569067f98c558ee667bb1a4be0d8f6db (diff)
downloadopenembedded-core-contrib-1347381b4f93b318fadc2360c4adf0c68b562b13.tar.gz
qemuimage-testlib: Use ww option to ps to ensure command output isn't truncated
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/qemuimage-testlib-pythonhelper2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemuimage-testlib-pythonhelper b/scripts/qemuimage-testlib-pythonhelper
index 2c1f557778..bb01246c77 100755
--- a/scripts/qemuimage-testlib-pythonhelper
+++ b/scripts/qemuimage-testlib-pythonhelper
@@ -19,7 +19,7 @@ if options.findqemu:
#
# Walk the process tree from the process specified looking for a qemu-system. Return its pid.
#
- ps = subprocess.Popen(['ps', 'ax', '-o', 'pid,ppid,command'], stdout=subprocess.PIPE).communicate()[0]
+ ps = subprocess.Popen(['ps', 'axww', '-o', 'pid,ppid,command'], stdout=subprocess.PIPE).communicate()[0]
processes = ps.split('\n')
nfields = len(processes[0].split()) - 1
pids = {}