summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-03-12 13:24:18 (GMT)
committerSteven Knight <knight@baldmt.com>2004-03-12 13:24:18 (GMT)
commit7f0857e23182eb4fba10dc65216c65dbe7ee13da (patch)
treece7ad48e3d0e7cd9708904c8ceedad4da4125090 /doc
parent503c526b323d74874ee99ae5d54b30f45046ce00 (diff)
downloadSCons-7f0857e23182eb4fba10dc65216c65dbe7ee13da.zip
SCons-7f0857e23182eb4fba10dc65216c65dbe7ee13da.tar.gz
SCons-7f0857e23182eb4fba10dc65216c65dbe7ee13da.tar.bz2
Add an Execute() method.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.121
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 2d7886b..caba4a5 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -2555,6 +2555,27 @@ initialized with the specified
pairs.
'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+.TP
+.RI Execute( action ", [" strfunction ", " varlist ])
+.TP
+.RI env.Execute( action ", [" strfunction ", " varlist ])
+Executes an Action object.
+The specified
+.IR action
+may be an Action object
+(see the section "Action Objects,"
+below, for a complete explanation of the arguments and behavior),
+or it may be a command-line string,
+list of commands,
+or executable Python function,
+each of which will be converted
+into an Action object
+and then executed.
+The exit value of the command
+or return value of the Python function
+will be returned.
+
+'\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.TP
.RI Exit([ value ])
.TP