X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/utils/blobdiff_plain/31f0fd7686adbd9141f8c821aa925d20d5df7ba0..f17839e1e0576cac227c12d35945c8fc5c2ea4ba:/buildrun/buildrun.but diff --git a/buildrun/buildrun.but b/buildrun/buildrun.but index cf7a261..9b0d118 100644 --- a/buildrun/buildrun.but +++ b/buildrun/buildrun.but @@ -1,10 +1,12 @@ \cfg{man-identity}{buildrun}{1}{2012-08-01}{Simon Tatham}{Simon Tatham} +\define{dash} \u2013{-} + \title Man page for \cw{buildrun} \U NAME -\cw{buildrun} - run one program after another has completed successfully +\cw{buildrun} \dash run one program after another has completed successfully \U SYNOPSIS @@ -134,7 +136,7 @@ behaviour which \cw{buildrun} relies on. Using a directory in Of course, instances of \cw{buildrun} using different control directories will be completely independent of each other. So you can simultaneously run two or more pairs of commands each linked by their -own pair of \cw{buildrun}s, and as long as each pair has a separaet +own pair of \cw{buildrun}s, and as long as each pair has a separate control directory, they won't interfere with each other. } @@ -152,15 +154,15 @@ shell, e.g. \lcont{ -\c buildrun -w sh -c '(cmd1; cmd2 | cmd3) > outfile' -\e bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb +\c buildrun -w /tmp/ctldir sh -c '(cmd1; cmd2 | cmd3) > outfile' +\e bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb In \cw{buildrun -r} mode, an alternative to doing that is simply not to provide a command at all, and instead tell your shell to run a complex command \e{after} \cw{buildrun}, e.g. -\c buildrun -r && (cmd1; cmd2 | cmd3) > outfile -\e bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb +\c buildrun -r /tmp/ctldir && (cmd1; cmd2 | cmd3) > outfile +\e bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb (This alternative is not available with \cw{buildrun -w}, since that has to run its command as a subprocess so that it can wait for it to