Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

kill % fails?



Why does this not kill all processes?

 $ killall xeyes
 $ pstree | grep xeyes
 # no xeyes running
 $ for i in $(seq 1000); do xeyes & sleep 0.01; kill %; done
 zsh: job table full
 [2]    terminated  xeyes
 [3]    terminated  xeyes
 ...
 [996]    terminated  xeyes
 [997]  - terminated  xeyes
 $ pstree | grep xeyes
        |                          `-xeyes(28266)     <----- not killed?
 $ killall xeyes
 $ pstree | grep xeyes
 [998]  + terminated  xeyes

Okay, I understand that bit about the full job table, but why is
the last process not killed?

Note: The 0.01 second sleep is just long enough so that xeyes
tries to create a window on my system.

Warning: If not running fvwm as a window manager, you wm may well
go crazy, crash or become busy for a long time.  Better save your
work first.

Ciao

Dominik ^_^  ^_^

--

Dominik Vogt




Messages sorted by: Reverse Date, Date, Thread, Author