Re: oaf-slay improvements
- From: Dan Winship <danw ximian com>
- To: Brian Cameron <Brian Cameron sun com>
- Cc: gnome-components-list gnome org, louise miller sun com
- Subject: Re: oaf-slay improvements
- Date: 04 May 2001 20:37:13 +0500
> if ($uname eq "SunOS") {
> $username = `/usr/ucb/whoami`;
> } else {
> $username = `/usr/bin/whoami`;
> }
That should really be done with a configure check (AC_PATH_PROG or
something).
> $ps_cmd = "/bin/ps -e -opid,user,args | /bin/grep ".$username;
and that assumes a SVR4-style ps. Is there some perl module that can be
used for process listing stuff instead?
-- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]