partial - Show an earlier started long-running command's partial output |
partial - Show an earlier started long-running command's partial output
partial [--restart|--forget|--wait|--pid] <COMMAND> [<ARGUMENTS>]
On first invocation partial(1)
starts COMMAND in the background.
On subsequent invocations, it prints the command's output to stdout which is
generated so far, including the parts which are shown before too,
and keep it running in the background.
Hence the name 'partial', because it shows a command's partial output.
When the command finished, partial(1)
prints the whole output
and exits with COMMAND's exit code.
Terminate (SIGTERM) previous instance of the same command and clean up status directory, even if it's running.
Terminate command if running (like with --forget) and start it again.
On first run, wait for the complete output.
display PID
less verbose
command started
partial output shown
called command returned with this status code nnn
If COMMAND does not exit normally, but gets terminated by a signal,
the exit code is indistinguishable from a normal exit's status code,
due to bash(1)
uses the value of 128+N as the exit status
when a command terminates on a fatal signal N.
partial - Show an earlier started long-running command's partial output |