Overview
| Artifact ID: | dfdda2ef759a5025a7c38b65568eb9b6cefe3d8d |
|---|---|
| Ticket: | 773280ffffffffffffffffffffffffffffffffff
lindex bug |
| User & Date: | sea001 on 2003-07-18 05:13:27 |
Changes
- icomment:
Logged In: YES user_id=825002 original code was : set target 2012 if { [catch {exec ps -efl} processes } { puts "ERROR -- exec ps -efl failed -- $processes" } else { foreach process [split $processes "\n"] { set pid [lindex $process 3] if { $pid == $target } { puts "found it!" break } } } This works for all ps -efl output except the bug example. I've worked around it by simply 'catch {lindex $process 3} pid'. Sorry for the terse bug report -- I'm astonished you replied so quickly!!! - login: "sea001"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "sea001"