On Jun 14, 2009, at 4:41 PM, James Turnbull wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Luke Kanies wrote:
>
> | There's no equivalent for reading files.
> |> - Any particular reason for cat'ing /proc/uptime rather than  
> opening
> |> the file directly?
> |
> |
> | Someone's initial bad decision that was never corrected, most  
> likely.
> |
>
> Hey! I resemble that remark:
>
> 86b01bf6 (James Turnbull 2009-02-28 02:45:57 +1100 16)         r =
> IO.popen("/bin/cat /proc/uptime")
>
> But see:
>
> http://projects.reductivelabs.com/issues/2032
>
> for why.


Ah, right.  My bad.

-- 
That was just a drill of the emergency y2k system. Had this been a
real emergency, we would've also dumped a bucket of spiders on you and
yelled out "civilization is collapsing!"
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to