*** To replicate the problem:
Run the following command:
xdotool search --pid 3477 # You can substitute the PID with a real one.
*** Expected output:
* Case #1: The window exists for the PID:
I expect to see a list of one or more PIDs (to stdout), with return code 0.
* Case #2: The window does not exist for the PID, or the PID does not exist:
I expect to see no output with return code 1.
*** What actually happens:
* Both case #1 and case #2:
The output lines (to stdout) and the return code are correct, but also the
following line (to stderr) is shown:
Can't consume 1 args; are only 0 available. This is a bug.
* Product version:
xdotool version 2.20110530.1
* Operating system:
Linux Ubuntu 12.04 fully updated
Original issue reported on code.google.com by PaddyLandau on 7 Oct 2012 at 10:23
Original issue reported on code.google.com by
PaddyLandau
on 7 Oct 2012 at 10:23