partial - Show an earlier started long-running command's partial output


NAME

partial - Show an earlier started long-running command's partial output


SYNOPSIS

partial [--restart|--forget|--wait|--pid] <COMMAND> [<ARGUMENTS>]


DESCRIPTION

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.


OPTIONS

-f, --forget

Terminate (SIGTERM) previous instance of the same command and clean up status directory, even if it's running.

-r, --restart

Terminate command if running (like with --forget) and start it again.

-w, --wait

On first run, wait for the complete output.

-p, --pid

display PID

-q, --quiet

less verbose


STATUS CODES

  1. command started

  2. partial output shown

    nnn

    called command returned with this status code nnn


LIMITS

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