Release

{#if running} running {:else if exit === null} idle {:else if exit === 0} finished {:else} failed ({exit}) {/if} {lines.length}
{#if lines.length} {#each lines as line, i (i)}
{line || " "}
{/each} {:else}

Waiting for the first line…

{/if}
{#if !running && exit !== null} {/if}