Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208408

Re: notify-send script messed up my environment

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: notify-send script messed up my environment
Date 2019-05-08 18:40 +0200
Message-ID <xVxLQ-2Ry-13@gated-at.bofh.it> (permalink)
References <xVfOW-fA-5@gated-at.bofh.it> <xVu1z-wY-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 08 May 2019 at 08:33:05 (-0400), Greg Wooledge wrote:
> On Tue, May 07, 2019 at 11:23:46PM +0200, Esteban L wrote:
> > pid=$(pgrep -u $username nautilus)
> 
> This may produce more than one value.

> The script you've got is not designed to handle the case where pgrep finds
> more than one process and reports more than one PID.  It has to be
> rewritten to handle that.

… and for none. What's nautilus? :)

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

notify-send script messed up my environment Esteban L <esteban@little-beak.com> - 2019-05-07 23:30 +0200
  Re: notify-send script messed up my environment Dan Ritter <dsr@randomstring.org> - 2019-05-08 00:20 +0200
    Re: notify-send script messed up my environment Esteban L <esteban@little-beak.com> - 2019-05-08 01:20 +0200
      Re: notify-send script messed up my environment Gene Heskett <gheskett@shentel.net> - 2019-05-08 01:50 +0200
        Re: notify-send script messed up my environment Dan Ritter <dsr@randomstring.org> - 2019-05-08 02:00 +0200
          Re: notify-send script messed up my environment Gene Heskett <gheskett@shentel.net> - 2019-05-08 03:50 +0200
  Re: notify-send script messed up my environment Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-08 14:40 +0200
    Re: notify-send script messed up my environment David Wright <deblis@lionunicorn.co.uk> - 2019-05-08 18:40 +0200

csiph-web