# # # patch "monotone.texi" # from [b0b91b812576f51692368748e607c741f4d9ac1e] # to [b7cd889cd3ec03d4f3be9624f1024cf5db06f773] # ============================================================ --- monotone.texi b0b91b812576f51692368748e607c741f4d9ac1e +++ monotone.texi b7cd889cd3ec03d4f3be9624f1024cf5db06f773 @@ -8702,30 +8702,6 @@ @section Additional Lua Functions file in the standard TMP/TEMP directories. For the definition of @code{temp_file()}, see @ref{Default hooks}. address@hidden sleep(@var{seconds}) - -Makes the calling process sleep for the specified number of seconds. - address@hidden spawn(@var{executable} [, @var{args ...}]) - -Starts the named executable with the given arguments. Returns the -process PID on POSIX systems, the process handle on Win32 or -1 if -there was an error. -Calls fork/execvp on POSIX, CreateProcess on Win32. - address@hidden notice:address@hidden -To spawn a process and wait for its completion, use the @code{execute()} -function, unless you need to run monotone with the @option{--nostd} -option. @code{execute()} builds on @code{spawn()} and @code{wait()} -in a standardized way. - address@hidden wait(@var{pid}) - -Wait until the process with given PID (process handle on Win32) exits. -Returns two values: a result value and the exit code of the waited-for -process. -The exit code is meaningful only if the result value is 0. - @item parse_basic_io(@var{data}) Parse the string @var{data}, which should be in basic_io format. It returns nil @@ -8757,6 +8733,30 @@ @section Additional Lua Functions @end group @end smallexample address@hidden sleep(@var{seconds}) + +Makes the calling process sleep for the specified number of seconds. + address@hidden spawn(@var{executable} [, @var{args ...}]) + +Starts the named executable with the given arguments. Returns the +process PID on POSIX systems, the process handle on Win32 or -1 if +there was an error. +Calls fork/execvp on POSIX, CreateProcess on Win32. + address@hidden notice:address@hidden +To spawn a process and wait for its completion, use the @code{execute()} +function, unless you need to run monotone with the @option{--nostd} +option. @code{execute()} builds on @code{spawn()} and @code{wait()} +in a standardized way. + address@hidden wait(@var{pid}) + +Wait until the process with given PID (process handle on Win32) exits. +Returns two values: a result value and the exit code of the waited-for +process. +The exit code is meaningful only if the result value is 0. + @end ftable