Ok, sorry, but one final (hopefully) question.

dmenu_run does "xy | /bin/sh &".
Like this the thing then is owned by PID 1.
I use (instead of dmenu_run)

  : ${LINES:=30}
  cmd=$(<< '_EOT' dmenu -l $((LINES - LINES/10)) "$@"
  # Browse
  /bin/sh -c 'touch /run/user/$(id -u)/box-browse/root/#'
  doas /x/pub/box-web.sh browse firefox
  ...
  _EOT
  )
  exec ${SHELL:-"/bin/sh"} -c "$cmd"

Like this "$cmd" is owned by dwm.
I only wonder *why* this is backgrounded.
Thank you.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to