|
From: | Graydon Hoare |
Subject: | [Monotone-devel] Re: [PATCH] New lua command execute_redirout which executes an os command and captures standard output |
Date: | Mon, 14 Aug 2006 16:19:36 -0700 |
User-agent: | Thunderbird 1.5.0.5 (Windows/20060719) |
Bruce Stephens wrote:
Well, an obvious alternative would be to provide those two operations as lua functions. How portable is stat as a command?
Yes, I'd much prefer writing stat() and readlink() lua functions. Both functions are in SUSv3 and will be much faster than spawning a subprocess.
-graydon
[Prev in Thread] | Current Thread | [Next in Thread] |