monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: [PATCH] New lua command execute_redirout which exec


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]