diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-30 12:50:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-30 13:04:10 +0000 |
commit | cc7f542947fcbeed46593567b3931b09e89b5bfc (patch) | |
tree | 53280c26d8992bfe972bfd57a1b51fd673f5c50d /scripts/qemuimage-testlib-pythonhelper | |
parent | de208eb81247e64b10f2183f005f19fd7236e773 (diff) | |
download | poky-cc7f542947fcbeed46593567b3931b09e89b5bfc.tar.gz |
qemuimage-testlib: Use ww option to ps to ensure command output isn't truncated
(From OE-Core rev: 1347381b4f93b318fadc2360c4adf0c68b562b13)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/qemuimage-testlib-pythonhelper')
-rwxr-xr-x | scripts/qemuimage-testlib-pythonhelper | 2 |
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: | |||
19 | # | 19 | # |
20 | # Walk the process tree from the process specified looking for a qemu-system. Return its pid. | 20 | # Walk the process tree from the process specified looking for a qemu-system. Return its pid. |
21 | # | 21 | # |
22 | ps = subprocess.Popen(['ps', 'ax', '-o', 'pid,ppid,command'], stdout=subprocess.PIPE).communicate()[0] | 22 | ps = subprocess.Popen(['ps', 'axww', '-o', 'pid,ppid,command'], stdout=subprocess.PIPE).communicate()[0] |
23 | processes = ps.split('\n') | 23 | processes = ps.split('\n') |
24 | nfields = len(processes[0].split()) - 1 | 24 | nfields = len(processes[0].split()) - 1 |
25 | pids = {} | 25 | pids = {} |