Re: AT Class
| From: | Jon Parise | Date: | Tue, 09 Jan 2001 21:07:03 +0000 |
| Subject: | Re: AT Class | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-914@lists.php.net to get a copy of this message | ||
On Tue, Jan 09, 2001 at 02:34:03PM -0500, Colin Viebrock wrote:
> 1) Hard-coding the location of "/usr/bin/at" isn't too smart. I had thought
> about using
which at instead and setting an error if it
> can't find it. I
> can do this for Unix ... no idea on how to do it for NT.
How about just leaving it as 'at' and letting the environment find the
binary for you? Or perhaps add an optional argument to the
constructor that specifies the absolute path to the binary?
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member